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 are the 4 pillars of oop?
How is polymorphism achieved?
What are the three main types of variables?
Why is encapsulation used?
What is a class oop?
Can a destructor be called directly?
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
What is abstraction in oop with example?
What is destructor example?
What is the full form of oops?
Get me a number puzzle game-program
What do you mean by Encapsulation?
What causes polymorphism?
Can bst contain duplicates?
Which type does string inherit from?