在别的类中创建静态内部类和实例内部类的区别

实例内部类

Out out=new Out();
out.in in=out.new in();

静态内部类

Out.In in=new Out.In();

猜你喜欢

转载自blog.csdn.net/reveire7/article/details/82429742
今日推荐