Explain the use of sublass in a Java program?
Short Answer
Views 548
Answer:
Sub class inherits all the public and protected methods and the implementation. It also inherits all the default modifier methods and their implementation.
Related Articles:
This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.