public class HelloWorld{
public static void main(String[] args) {
// System.out.println("Java");
System.out.println("imooc");
/* System.out.println("Oracle");
System.out.println("MySQL");*/
}
}
public static void main(String[] args) {
// System.out.println("Java");
System.out.println("imooc");
/* System.out.println("Oracle");
System.out.println("MySQL");*/
}
}
2015-04-05
public class HelloWorld{
public static void main(String[] args) {
final char SEX='男';
final char NAME='女';
System.out.println(SEX);
System.out.println(NAME);
}
}
public static void main(String[] args) {
final char SEX='男';
final char NAME='女';
System.out.println(SEX);
System.out.println(NAME);
}
}
2015-04-05
public class HelloWorld{
public static void main(String[] args) {
double avg1=78.5;
int rise=5;
double avg2=avg1+rise;
System.out.println("考试平均分:"+avg1);
System.out.println("调整后的平均分:"+avg2);
}
}
public static void main(String[] args) {
double avg1=78.5;
int rise=5;
double avg2=avg1+rise;
System.out.println("考试平均分:"+avg1);
System.out.println("调整后的平均分:"+avg2);
}
}
2015-04-05
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);
}
}
2015-04-05