最新回答 / 慕侠1513228
public class HelloWorld { public static void main(String[] args) {int score = 94;String sex = "女"; if(score > 80){ if(sex.equals ("女")){ System.out.println("进入女子决赛"); } else { System.out.println("进入男子决...
2022-05-27
String name="爱慕课";
char sex='男';
int num=18;
double price=120.5;
boolean isOK=true;
char sex='男';
int num=18;
double price=120.5;
boolean isOK=true;
2022-05-12
public class HelloWorld{
public static void main(String[] args) {
String mylove= "我爱慕课网";
String _age= "www.imooc.com";
System.out.println(mylove+"\n"+_age);
}
}
public static void main(String[] args) {
String mylove= "我爱慕课网";
String _age= "www.imooc.com";
System.out.println(mylove+"\n"+_age);
}
}
2022-05-12
最赞回答 / qq_慕瓜2599115
int three=20;int one=10;"three+=one"表示"three=three+one",现在three的值已经发生改变为(20+10=30),three=30,接下来下一步用three计算,three应该用30这个值代入
2022-05-09
https://www.oracle.com/cn/java/technologies/javase/javase8u211-later-archive-downloads.html
复制粘贴这个网址,打开以后往下拉找到尾号8u261,找到跟视频中一样的那个然后下载就行
复制粘贴这个网址,打开以后往下拉找到尾号8u261,找到跟视频中一样的那个然后下载就行
2022-05-05
public class HelloWorld{
public static void main(String[] args) {
final String MAN="男";
final String GRI="女";
System.out.println(MAN);
System.out.println(GRI);
}
}
public static void main(String[] args) {
final String MAN="男";
final String GRI="女";
System.out.println(MAN);
System.out.println(GRI);
}
}
2022-05-02
public class HelloWorld{
public static void main(String[] args) {
String city ="江苏徐州";
System.out.println("我的家乡在:"+city);
}
}
public static void main(String[] args) {
String city ="江苏徐州";
System.out.println("我的家乡在:"+city);
}
}
2022-05-02