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 pointer in oop?
What is the highest level of cohesion?
What is polymorphism and its types?
Is html an oop?
What is interface? When and where is it used?
Can we define a class within the interface?
How to use CMutex, CSemaphore in VC++ MFC
can inline function declare in private part of class?
#include
Why do we use class in oops?
What are different oops concepts?
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 are the different types of qualifier in java?
What does and I oop and sksksk mean?
What is encapsulation in ict?