Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

difference between a static and a non-static inner class

Thu Nov 06, 2008 11:06 pm

What is the difference between a static and a non-static inner class?



Re: difference between a static and a non-static inner class

Thu Nov 06, 2008 11:07 pm

A non-static inner class may have object instances that are associated with instances of the class's outer class. A static inner class does not have any object instances.

Post a reply
  Related Posts  to : difference between a static and a non-static inner class
 Class static properties     -  
 Static Import     -  
 What is a static method     -  
 static vs fixed div position     -  
 Static Methods and Variables     -  
 static variable defined in function     -  
 Can we override static methods in java     -  
 Calling a local variable from a static function     -  
 main method and two static methods and loop until input zero     -  
 The difference between an Interface and an Abstract class     -