精慕门7194780
2018-01-24 12:06
HelloWorld.java:5: error: cannot find symbol System.out.println=(F1); ^ symbol: variable println location: variable out of type PrintStream HelloWorld.java:6: error: cannot find symbol System.out.println=(F2); ^ symbol: variable println location: variable out of type PrintStream 2 errors
3 4行没定义好吧
public class HelloWorld{
public static void main(String[] args) {
final String F1="男";
final String F2="女";
System.out.println(F1);
System.out.println(F2);
}
}
Java入门第一季(IDEA工具)升级版
1165563 学习 · 17587 问题
相似问题