0 votes
1 view
in Java by (4.2k points)

1 Answer

0 votes
by (11.1k points)
edited 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:

Related questions

0 votes
1 answer
asked Mar 10 in Java by Sudhir_1997 (30.8k points)
0 votes
1 answer
asked Jan 16 in Java by angadmishra (4.2k points)
0 votes
1 answer
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...