OOPS
August 29, 2024OOPS
August 29, 2024OOPS
Question 181 |
_________ allows to create classes which are derived from other classes, so that they automatically include some of its “parent’s” members, plus its own members.
Overloading | |
Inheritance | |
Polymorphism | |
Encapsulation |
Question 181 Explanation:
→ Inheritance allows to create classes which are derived from other classes, so that they automatically include some of its “parent’s” members, plus its own members.
→ The main advantage of inheritance is “reusability”.
→ The main advantage of inheritance is “reusability”.
Correct Answer: B
Question 181 Explanation:
→ Inheritance allows to create classes which are derived from other classes, so that they automatically include some of its “parent’s” members, plus its own members.
→ The main advantage of inheritance is “reusability”.
→ The main advantage of inheritance is “reusability”.