What is the difference between a static and a non-static inner class? Ans. 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. - Study24x7
Social learning Network
10 Jan 2024 10:36 AM study24x7 study24x7

What is the difference between a static and a non-static inner class? Ans. 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.

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles