0

Can I use nested classes in java?

3rd Sep 2018, 1:54 AM
Surendra
Surendra - avatar
2 Antworten
+ 2
Yes,it is possible to define a class within another class, called as nested class,and the scope of the class will be within the brackets. For better understanding I prefer to look for "Nested classes in Java"on 'GeeksforGeeks'. Good luck and keep practicing!!
3rd Sep 2018, 2:27 AM
Manu Pandey
Manu Pandey - avatar
0
tq manu pandey
3rd Sep 2018, 2:30 AM
Surendra
Surendra - avatar