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

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

Toin
Views: 698 | Community Opinion: 1

Tags..  Java Classes  Core Java Interview  Java

Bookmark this page..



Ask a New Question Go to Home

Community Opinion/Answers
 
Raju Said..

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.






What do you think? Add your opinion/answer
*Name
*your opinion/answer: