What is the difference between inner class and nested class? Ans. When a class is defined within a scope od another class, then it becomes inner class. If the access modifier of the inner class is static, then it becomes nested class. - Study24x7
Social learning Network
31 Oct 2023 02:46 PM study24x7 study24x7

What is the difference between inner class and nested class? Ans. When a class is defined within a scope od another class, then it becomes inner class. If the access modifier of the inner class is static, then it becomes nested class.

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