What is the difference between public, private, protected
inheritance?
Answer Posted / tekle
The type or member can be accessed by any other code in the
same assembly or another assembly that references it.
private
The type or member can only be accessed by code in the same
class or struct.
protected
The type or member can only be accessed by code in the same
class or struct, or in a derived class.
| Is This Answer Correct ? | 18 Yes | 4 No |
Post New Answer View All Answers
What are the advantages of c++?
You want to link a c++ program to c functions. How would you do it?
Why is polymorphism useful?
What is java and c++?
Does there exist any other function which can be used to convert an integer or a float to a string?
Explain method of creating object in C++ ?
What is auto type c++?
Which operator cannot overload?
What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?
Why can templates only be implemented in the header file?
Define pointers?
Why was c++ made?
Is c++ a high level language?
What is data abstraction? How is it different from data encapsulation?
write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)