public class HelloWorld{
public static void main(String[] args) {
String a ="我爱慕课网";
String b ="www.imooc.com";
System.out.println(a+"\n"+b);
}
}
public static void main(String[] args) {
String a ="我爱慕课网";
String b ="www.imooc.com";
System.out.println(a+"\n"+b);
}
}
2022-07-06
three=one+two;
int age1=one+two;
int age2=three+=one;
int age3=three-=one;
int age4=three*=one;
int age5=three/=one;
int age6=three%=one;
System.out.println("three=one+two==>"+age1);
下同
int age1=one+two;
int age2=three+=one;
int age3=three-=one;
int age4=three*=one;
int age5=three/=one;
int age6=three%=one;
System.out.println("three=one+two==>"+age1);
下同
2022-07-06
最新回答 / weixin_慕村3084428
public class HelloWorld { public static void main(String[] args) { // 定义一个长度为 3 的字符串数组,并赋值初始值 String[] hobbys = { "sports", "game", "movie" }; System.out.println("循环输出数组中元素的值:"); // 使用循环遍历数组中的元素 for(int i=0;i<hobbys.length;i++);{ ...
2022-06-26
public class HelloWorld{
public static void main(String[] args) {
String imooc="我爱慕课网";
String myImooc="www.imooc.com";
System.out.println(imooc+myImooc);
}
}
public static void main(String[] args) {
String imooc="我爱慕课网";
String myImooc="www.imooc.com";
System.out.println(imooc+myImooc);
}
}
2022-06-17