String mark =(score>=60)?"及格":"不及格";
System.out.println("考試成績?nèi)绾危?amp;quot;+mark);
System.out.println("考試成績?nèi)绾危?amp;quot;+mark);
2014-12-18
three=one+two;
System.out.println(three);
three+=one;
System.out.println(three);
three-=one;
System.out.println(three);
three*=one;
System.out.println(three);
three/=one;
System.out.println(three);
three%=one;
System.out.println(three);
System.out.println(three);
three+=one;
System.out.println(three);
three-=one;
System.out.println(three);
three*=one;
System.out.println(three);
three/=one;
System.out.println(three);
three%=one;
System.out.println(three);
2014-12-18
public class HelloWorld{
public static void main(String[] args) {
String love="我愛慕課網(wǎng)慕課網(wǎng)";
String url="idcbgp.cn";
System.out.println(love+"\n"+url);
}
}
public static void main(String[] args) {
String love="我愛慕課網(wǎng)慕課網(wǎng)";
String url="idcbgp.cn";
System.out.println(love+"\n"+url);
}
}
2014-12-18
public class HelloWorld{
public static void main(String[] args){
System.out.println("你好啊,java");
}
}
public static void main(String[] args){
System.out.println("你好啊,java");
}
}
2014-12-18