Java core basics finishing

Internal class x

 

x.1 members of the internal class

 

x.2 partial inner class

 

x.3 static inner classes

 

x.4 anonymous inner classes

Why external class member variable or member method anonymous inner class access must be modified with static?
Anonymous inner class, it can be said that the interface may be new do?
Use an anonymous inner classes under what circumstances?

 

Guess you like

Origin www.cnblogs.com/liwe/p/10987853.html