Auto commit

上级 5b0ce43e
class Main { class Main {
public static void main(String[] args) { public static void main(String[] args) {
System.out.println("Hello world!"); System.out.println("内部类(成员)的使用");
Main m = new Main();
m.new A();
}
int n;
class A{
A(){
n=1000;
System.out.println(n);
}
} }
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册