/**
* package bao01;
* 开始学习 java 了,给自己加油;
*/
public class test01_Hello{
static int j = 9;
public static void main(String[] arge){
System.out.println("Hello world!");
System.out.println(123);
System.out.println(j);
}
* package bao01;
* 开始学习 java 了,给自己加油;
*/
public class test01_Hello{
static int j = 9;
public static void main(String[] arge){
System.out.println("Hello world!");
System.out.println(123);
System.out.println(j);
}
}
结果显示:
Hello world!
123
9
Process finished with exit code 0