What is the difference between public, private, protected
inheritance?
Answer Posted / mahen dimri
for V.M public
class a class b
private =! private.
public = public.
protected = protected.
for V.M private
class a claas b
private =! private.
public = private.
protected = private.
for V.M protected
class a class b
private =! private.
public = protected.
protected = protected.
(Where V.M= Virtuality Mode)
| Is This Answer Correct ? | 23 Yes | 41 No |
Post New Answer View All Answers
Explain overriding.
Eplain extern keyword?
A mXn matrix is given and rows and column are sorted as shown below.Write a function that search a desired entered no in the matrix .with minimum complexity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
When should you use global variables?
What is array give example?
What is the function to call to turn an ascii string into a long?
Can I make ios apps with c++?
How one would use switch in a program?
What is the difference between method overloading and method overriding in c++?
What are smart pointers?
Write about the access privileges in c++ and also mention about its default access level?
Explain Memory Allocation in C/C++ ?
Explain selection sorting. Also write an example.
Explain how an exception handler is defined and invoked in a Program.
Explain Text Manipulation Routines?