Saved Bookmarks
| 1. |
Which among the following is inherited by a derived class from base class?(a) Data members only(b) Member functions only(c) All the members except private members(d) All the members of base class |
|
Answer» Correct choice is (c) All the members except private members To explain: The class inheriting another class, inherits all the data members and member functions that are not private. This is done to ensure the security features with maximum flexibility. |
|