Pārlūkot izejas kodu

updated to static methods

Trinh Tong 6 gadus atpakaļ
vecāks
revīzija
228e24ea20

Binārs
TooLargeTooSmall/TooLargeTooSmall.class Parādīt failu


+ 1
- 1
TooLargeTooSmall/TooLargeTooSmall.java Parādīt failu

@@ -46,7 +46,7 @@ public class TooLargeTooSmall {
46 46
         return guessMe;
47 47
     }
48 48
 
49
-    public void guessing() {
49
+    public static void guessing() {
50 50
         
51 51
         int numberToGuess = randomNumGenerator();
52 52