char與String
public class HelloWorld{
??? public static void main(String[] args) {
?final char SEX='男';
?final char SEXX'女';
?System.out.println(SEX);
?System.out.println(SEXX);
?}
}
?請(qǐng)問(wèn)哪里有問(wèn)題
public class HelloWorld{
??? public static void main(String[] args) {
?final char SEX='男';
?final char SEXX'女';
?System.out.println(SEX);
?System.out.println(SEXX);
?}
}
?請(qǐng)問(wèn)哪里有問(wèn)題
2018-05-31
舉報(bào)
2018-07-06
final char SEX='男';
final char SEXX='女';
System.out.println(SEX);
System.out.println(SEXX);
2018-06-07
final char SEXX='女';
2018-05-31
第四行代碼為什么把賦值符號(hào)去掉了?