Advertisements
Advertisements
Question
Base class is used to inherit the property of a derived class.
Options
True
False
MCQ
True or False
Solution
This statement is False.
Explanation:
- In inheritance, a base class passes its attributes, including fields and methods, to a derived class.
- Base Class: The class from which attributes are derived.
- Derived Class: The class that acquires attributes from the base class.
shaalaa.com
Is there an error in this question or solution?