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 will a constructor executed?

Answer Posted / preeti

Constructor execution is depend on its type like,

1) inbuilt or default construtor, no parameter constructor
are executes whenever object creates.

2) parameterized constructor execute whenever it calls.

3) base class constructor execute before than child class
constructor(child class is derived from base class
constructor).

Is This Answer Correct ?    21 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between multiple inheritance and multilevel inheritance?

1108


Can a destructor be called directly?

1021


Can we create object of interface?

1068


What is encapsulation process?

1006


What is purpose of inheritance?

1054


Can you inherit a private class?

1061


i got a backdoor offer in process global,Bangalore..Can i work with it?

2791


What are objects in oop?

1041


What is polymorphism in oop example?

962


What is inheritance in oop?

985


What is the important feature of inheritance?

1072


Are polymorphisms mutations?

1110


Give two or more real cenario of virtual function and vertual object

2289


Explain the concepts involved in Object Oriented programming.

1146


What is abstraction in oops?

986