What is the difference between public, private, protected
inheritance?
Answers were Sorted based on User's Feedback
Answer / adit
# 3
for V.M public
class a class b
private =! private.
public = public.
protected = public.
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 ? | 17 Yes | 29 No |
Answer / 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 |
What is static function and static class?
Can you be bale to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;
explain the reference variable in c++?
sizeof- is it functioning statically or dynamically?
what are the iterator and generic algorithms.
What is private, public and protected inheritance?
Can you please explain the difference between using macro and inline functions?
What is the difference between public, private, and protected access?
what is object?
Write a program to find the Fibonacci series recursively.
How can we access protected and private members of a class?