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 / kamlesh
How do u expect a private part of a class to be inheritable
Do u have any code to support your views
I am ready to solve the same
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What are the advantages of polymorphism?
Why is oop better than procedural?
What is polymorphism what is it for and how is it used?
How do you use inheritance in unity?
What is encapsulation with example?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What are different oops concepts?
What are benefits of oop?
Can private class be inherited?
• What are the desirable attributes for memory managment?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What is object in oops?
what are the realtime excercises in C++?
Why is polymorphism important in oop?
Are polymorphisms mutations?