When a private constructer is being inherited from one
class to another class and when the object is instantiated
is the space reserved for this private variable in the
memory??
Answer Posted / karandeep malik
The question is very absurd. From where did we get the
variable stuff? And ya, how on earth do we get private
members/functions being inherited? Kamlesh is right in
saying that The whole idea stinks.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Describe these concepts: Polymorphism, Inheritance and Abstraction.
How do you use inheritance in unity?
What is difference between data abstraction and encapsulation?
Who invented oop?
#include
What is abstraction example?
What is overriding vs overloading?
What are constructors in oop?
What is encapsulation selenium?
What are the features of oop?
Explain virtual inheritance?
What is the diamond problem in inheritance?
What is solid in oops?
What is advantage of inheritance?
program for insertion ,deletion,sorting in double link list