Select from following answers:- Yes
- No
- Depends on inherited classes
- All Above
YES. Private methods also gets inherited when a derived class is inherited from base class. Once you inherit a class all its members and functions also inherited to derived class though it is private, protected or public. But the main difference is they cannot be accessed or visible in derived class scope.
Show Correct Answer
Asked In: Ramco Systems |
Alert Moderator