+ 7

can we declare a class within a class. if your answer is yes so tell me how?

🤕

30th Aug 2017, 5:21 AM
P∆WAN M∆URY∆
P∆WAN M∆URY∆ - avatar
2 Antworten
+ 12
Yes they are called Nested Classes for more see : https://www.tutorialspoint.com/java/java_innerclasses.htm
30th Aug 2017, 5:36 AM
P R
P R - avatar
+ 9
Java Tutorial -> More on classes -> Inner classes
30th Aug 2017, 5:42 AM
Hatsy Rei
Hatsy Rei - avatar