When is an object created and what is its lifetime?

Answer Posted / nikhil

global scope,if created outside class n local scope if
created inside a class......

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is not an object oriented programming language?

544


Write a program to sort the number with different sorts in one program ??

1924


write a C++ program for booking using constructor and destructor.

2055


what is difference between class template and template class?

2162


What is the real life example of polymorphism?

611






Why is static class not inherited?

601


write a program to find 2^n+1 ?

1555


Plese get me a perfect C++ program for railway/airway reservation with all details.

3431


Why do we use encapsulation in oops?

529


What are the important components of cohesion?

557


What is protected in oop?

606


How to improve object oriented design skills?

573


What does no cap mean?

593


Why multiple inheritance is not allowed?

586


Why do we use polymorphism in oops?

586