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
1 Resposta
+ 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).