public class Welcome {
public static void main(String[] args) {
System.out.printIn("Hello World!");
}
}
Looks pretty simple, doesn't it? I'll concede that it is. "Well, then what's the problem?" you ask? My JDK doesn't want to compile for some reason. I keep getting an error, and I'm not sure why.
Welcome.java:3: cannot find symbol
symbol : method printIn(java.lang.String)
location : class java.io.PrintStream
System.out.printIn("Hello World");
(the arrow is pointing at the dot after 'out')
1 error
I'm using JDK 1.6.0_27. Any help?

New Topic/Question
Reply



MultiQuote






|