0

Is nested class and inner class same thing in Java?

14th Mar 2020, 4:34 PM
Sameep Dahal
Sameep Dahal - avatar
1 Antwort
+ 2
Nested classes are divided into two categories: static and non-static. Nested classes that are declared static are called static nested classes. Non-static nested classes are called inner classes. Source: https://docs.oracle.com/javase/tutorial/java/javaOO/nested.html
14th Mar 2020, 5:48 PM
Tibor Santa
Tibor Santa - avatar