Sfoglia il codice sorgente

updated to static methods

Trinh Tong 6 anni fa
parent
commit
228e24ea20

BIN
TooLargeTooSmall/TooLargeTooSmall.class Vedi File


+ 1
- 1
TooLargeTooSmall/TooLargeTooSmall.java Vedi File

@@ -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