What is nested class?

Last updated:9/18/2020 6:17:17 AM

1 Answers

Anonymous User
Anonymous User

A class which is declared inside another class is known as nested class.

 There are 4 types of nested class member:
1)inner class
2) local inner class
3)anonymous inner class and 
4)static nested class.

Answer