Explain the use of sublass in a Java program?

Java Programming Language >   Fundamentals of Object-Oriented Programming >   About Java Tutorial  

Short Question

633


Answer:

Sub class inherits all the public and protected methods and the implementation. It also inherits all the default modifier methods and their implementation.


This Particular section is dedicated to Question & Answer only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.