Question: what is the difference between inheritance and extends?
Answer: What is the difference between inheritance and extends in java? Inheritance is an object oriented programming concept, hence java supports inheritance. 'extends' is a keyword in java that allows/helps you to achieve inheritance in java.