77

java 面向对象内部类和接口-锦瑟无端五十弦

 6 years ago
source link: http://blog.51cto.com/10972685/2074504
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
一内部类 1成员内部类              1.1类中套类,外面称为outer外部类,里面称为inner内部类               1.2内部类通常服务员外部类,对外具有不可见性              1.3对象通常实在外部类中创建的              1.4可直接访问外部类所有成员,内部类中有个隐式的引用指向创建它的外部类对象,外部类名.this 2匿名内部类:   

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK