Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


When is an object created and what is its lifetime?

Answers were Sorted based on User's Feedback



When is an object created and what is its lifetime?..

Answer / 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

When is an object created and what is its lifetime?..

Answer / nikhil

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

Is This Answer Correct ?    3 Yes 2 No

When is an object created and what is its lifetime?..

Answer / alok pandey

When the constructor called then object created thus while
the programme execute till life of object

Is This Answer Correct ?    2 Yes 2 No

When is an object created and what is its lifetime?..

Answer / yathirajulu

whenever developer is required, and the life-time is when we
assinging null or close the program(application).

Is This Answer Correct ?    2 Yes 14 No

Post New Answer

More OOPS Interview Questions

to find out the minimum of two integer number of two different classes using friend function

0 Answers  


How do you define social class?

0 Answers  


What is the main difference between C++ and Java

11 Answers   TCS,


Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?

4 Answers   EA Electronic Arts,


What do we mean by a hidden argument in a function?

1 Answers   TCL,


What is property in oops?

0 Answers  


what is the difference between inter class and abstract class...?

0 Answers  


what is multithreading in c++ , what is difference between multithreading and singlethreading.

4 Answers  


what is object slicing

3 Answers   TCS,


Can we create object of interface?

0 Answers  


Finding of the 4 larger (bigger) numbers from the list like{1245,4587,2145,1163,29987,65783.....}

1 Answers   Wipro,


write string class as your own class in java without using any built-in function

0 Answers  


Categories