In Java, it is possible to inherit attributes and methods from one class to another. We group the "inheritance concept" into two categories:
subclass (child) - the class that inherits from another class
superclass (parent) - the class being inherited from
To inherit from a class, use the extends keyword.
On this page of the site you can watch the video online Java inheritance - Java tutorial - w3Schools - Chapter 33 English with a duration of hours minute second in good quality, which was uploaded by the user w3Schools Tutorials 13 July 2022, share the link with friends and acquaintances, this video has already been watched 419 times on youtube and it was liked by 6 viewers. Enjoy your viewing!