What is inheritance in Java?
Inheritance is when a class is made a part of another class through a process of combination.
That's not quite right. Inheritance is about extending a class to reuse its fields and methods, not just combining them.
Can you explain the difference between composition and inheritance in Java?