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?

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


Please Help Members By Posting Answers For Below Questions

What do you mean by overloading?

1059


What is encapsulation process?

1032


Can we have inheritance without polymorphism?

1016


What do you mean by Encapsulation?

1079


What is class and object in oops?

1115


What does and I oop mean in text?

1196


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

2183


What is an advantage of polymorphism?

1081


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

2579


What is encapsulation in simple terms?

1014


Why multiple inheritance is not possible?

1055


Can main method override?

1099


What is the problem with multiple inheritance?

1146


What is class encapsulation?

1081


What is the purpose of enum?

999