What is the difference between public, private, protected
inheritance?
Answer Posted / krishnakumar
Modifier | Class | Package | Subclass | World
public | Y | Y | Y | Y
protected | Y | Y | Y | N
no modifier | Y | Y | N | N
private | Y | N | N | N
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
Explain register storage specifier.
What is const pointer and const reference?
Show the application of a dynamic array with the help of an example.
What is polymorphism & list its types in c++?
Why c++ is so important?
Is map ordered c++?
What is the use of "new" operator?
What are namespaces in c++?
What is endl?
What is the difference between ++ count and count ++?
Are there interfaces in c++?
which operator is used for performing an exponential operation a) > b) ^ c) none
Mention the ways in which parameterized can be invoked. Give an example of each.
Differentiate between late binding and early binding.
What are the syntactic rules to be avoid ambiguity in multiple inheritance?