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
Why do we use polymorphism in oops?
write a program to find 2^n+1 ?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
Why multiple inheritance is not allowed?
What do you mean by Encapsulation?
What is overriding in oop?
What is object in oops?
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.
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is methods in oop?
Why is polymorphism used?
Is this job good for future? can do this job post grduate student?
Is react oop?
Why do we use inheritance?
What is encapsulation oop?