1.

Can You Please Explain The Difference Between Static And A Non-static Inner Class In Java Programming?

Answer»

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.

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.



Discussion

No Comment Found