adspace
What is the difference between public, private, protected
inheritance?
Answer Posted / saikat
A private member can only be accessed by other methods of
the same class, while a public member can be accessed by
methods of any class or by non class code.
| Is This Answer Correct ? | 9 Yes | 9 No |
Post New Answer View All Answers