What are all the thin开发者_运维百科gs that an interface can have, apart from abstract method and static variables?
Please give me few explainations. Inputs are highly welcomed.
Wikipedia is your friend: http://en.wikipedia.org/wiki/Java_interface
The article explains it well and also has examples.
It can contain an inner class or interface also. Hava a look at Map.Entry.
An interface can have inner classes in addition to what you have mentioned.
精彩评论