197k views
2 votes
What is inheritance?

2 Answers

4 votes

Answer:

here

Step-by-step explanation:

In object-oriented programming, inheritance is the mechanism of basing an object or class upon another object or class, retaining similar implementation. Also defined as deriving new classes from existing ones such as super class or base class and then forming them into a hierarchy of classes.

User Pixel Elephant
by
4.7k points
3 votes

Answer:

something that gets passed down from generation to generation

Step-by-step explanation:

User JSPP
by
5.2k points