Java Developer Question: Download Java Developer PDF
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.
Previous Question | Next Question |
Described object's lock and which object's have locks in Java Programming? | Can you please explain the difference between Window and a Frame in Java Programming? |