int three=two+one;
System.out.println(three);
报错;把int删了就可运行了???
System.out.println(three);
报错;把int删了就可运行了???
2021-04-10
最新回答 / 浪先生7835568
public class HelloWorld{ public static void main(String[] args) { final String SEX="男"; final String SEXL="女"; System.out.println(SEX); System.out.println(SEXL); }}
2021-04-09
老师我觉得我这个写法也是可以的,但是慕课里面不采用
public class Helloworld {
public static void main(String[] args) {
final char SEX='男';
final char SAX='女';
System.out.println("NIHAO"+SEX);
System.out.println("NIN"+SAX);
}
}
public class Helloworld {
public static void main(String[] args) {
final char SEX='男';
final char SAX='女';
System.out.println("NIHAO"+SEX);
System.out.println("NIN"+SAX);
}
}
2021-04-08