When I'm running "javac Main.java", the command prompt shows me the error:
Main.java:3: error: cannot find symbol System.out.printIn("HelloWorld"); ^ symbol: method printIn(String) location: variable out of type PrintStream 1 error Does anybody know how to solve this issue? I really don't know what to do.
My code is:
public class Main { public static void main(String args[]) { System.out.printIn("HelloWorld"); } } https://stackoverflow.com/questions/67223443/getting-a-error-in-system-out-printinhelloworld-while-compiling-my-java-fi April 23, 2021 at 11:06AM
没有评论:
发表评论