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 / antu
how full this qiestion is????????
are you made???????????????
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
c++ program to swap the objects of two different classes
What is ambiguity in inheritance?
What is balance factor?
What is static modifier?
What is the advantage of oop over procedural language?
What is the diamond problem in inheritance?
What is the importance of oop?
What is a class and object?
Why is abstraction used?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
Can private class be inherited?
What is abstraction in oop?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What is polymorphism give a real life example?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.