Answers for "are inner classes inherited"

0

are inner classes inherited

//Only fields and methods are inherited. 
//Inner class can extend it's outer class. 
//... Because, even the private members of outer 
//class are available inside the inner class. 
//Even though, When an inner class extends its outer class, 
//only fields and methods are inherited but not inner class 
//itself.
Posted by: Guest on February-05-2020

Code answers related to "are inner classes inherited"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language