When is an object created and what is its lifetime?
Answer Posted / apurva jain
Object is created when constructor has to be invoked or
when have to access the class.Its Lifetime is throughout
the Execution of that Class.
Is This Answer Correct ? | 31 Yes | 8 No |
Post New Answer View All Answers
What is the problem with multiple inheritance?
What are functions in oop?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What polymorphism means?
is there any choice in opting subjects like 4 out of 7
What is a class and object?
What is the point of oop?
How to use CMutex, CSemaphore in VC++ MFC
What are the 5 oop principles?
How do you define social class?
Explain virtual inheritance?
What is balance factor?
Write a program to sort the number with different sorts in one program ??
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
any one please tell me the purpose of operator overloading