0 votes
1 view
in Java by (880 points)

1 Answer

0 votes
ago by (2.1k points)
edited ago by
class A extends B{}

Here, Class A inherits the properties of class B, or 'extends' Class B. Class B is the parent of Class A. This implies that Class A can use the member functions and member variables of class B alongside its own and even override their base functionalities and values as the requirement arises.

 To know more about the various intricacies and implementations of the 'Inheritance'  properties. be sure to check out this video:

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...