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 ? | 30 Yes | 8 No |
Post New Answer View All Answers
What are the 3 principles of oop?
What is a class in oop?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is overriding in oop?
What is interface? When and where is it used?
What is abstraction and encapsulation?
What is encapsulation oop?
What is difference between inheritance and polymorphism?
What is polymorphism and example?
What is interface in oop?
How to use CMutex, CSemaphore in VC++ MFC
What is the purpose of polymorphism?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
State what is encapsulation and friend function?
What is encapsulation in oops?