public class HelloWorld{
public static void main(String[] args) {
final char MALE='男' ;
final char FEMALE='女' ;
System,out,println(MALE);
System,out,println(FEMALE);
}
}
这个错在哪里????
System.out.println(MALE);以下类同,你把那个逗号改成英文的点试试
public class HelloWorld{
public static void main(String[] args) {
final char MALE = '男';
final char FEMALE = '女';
System.out.println(MALE);
System.out.println(FEMALE);
}
}
没错呀
是System.out.println();你的写成逗号了,是点号