class Example {
public static void main(String args[]) {
System.out.printIn("This is a simple Java program.") ;
}
}
I tried to compile the code through Command prompt. The error message is as follows:
Example.java:3: error: cannot find symbol
System.out.printIn("This is a simple Java program.") ;
^
symbol: method printIn(String)
location: variable out of type PrintStream
1 error
I am a very beginner in java. Please help to understand the error.