0

//how do i fix this?

I/P- class MyClass { public static void main(String[ ] args) { System.out.printIn("hello"); } } O/P- ..\Playground\:4: error: cannot find symbol System.out.printIn("hello"); ^ symbol: method printIn(String) location: variable out of type PrintStream 1 error

30th Jun 2017, 11:35 AM
Abhishek Minz
Abhishek Minz - avatar
1 Respuesta
+ 1
replace printIn with println. It looks the same but you are using a capital i instead of a lower case L (using lowercase/uppercase in reverse here for clarity).
29th Jul 2017, 12:29 AM
marit vandijk