Just like you perhaps have inherited your eye color and hair color, your code can also inherit things from a “parent” object.
This is Trevor’s video on inheritance.
Here is a video using Pete’s favorite example, vehicles, car, etc.
And here is another Baeldung page coincidently using vehicle in their explanation as well!
If you’d like some practice exercises, with built in code solution, and a sandbox IDE to play aournd and learn, you can find one here.
And here is another site where there is pre-made code, with small quizzes, errors to find, etc.
And this also has great info on using the “super” key words in regards to inheritance.