+ 7
can we declare a class within a class. if your answer is yes so tell me how?
🤕
2 Respuestas
+ 12
Yes they are called Nested Classes for more see :
https://www.tutorialspoint.com/java/java_innerclasses.htm
+ 9
Java Tutorial -> More on classes -> Inner classes