are inner classes inherited

Solutions on MaxInterview for are inner classes inherited by the best coders in the world

showing results for - "are inner classes inherited"
Gabriele
31 Sep 2017
1//Only fields and methods are inherited. 
2//Inner class can extend it's outer class. 
3//... Because, even the private members of outer 
4//class are available inside the inner class. 
5//Even though, When an inner class extends its outer class, 
6//only fields and methods are inherited but not inner class 
7//itself.