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...

what are the ways in which a constructors can be called?

Answer Posted / king

A constructor can be called implicitly or explicitly.
When an object of class is created the constructor is 
implicitly called.
When we create an object we desired properties, we call the 
constructor explicitly. 

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What polymorphism means?

1078


What is advantage of inheritance?

1174


Can main method override?

1110


What is encapsulation c#?

1081


Can we have inheritance without polymorphism?

1027


What is data binding in oops?

1099


What are benefits of oop?

1136


What is a class oop?

1010


When not to use object oriented programming?

1110


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

2000


How oops is better than procedural?

1100


Why is polymorphism needed?

1071


What is polymorphism oop?

1067


Which is better struts or spring?

1057


what are the different types of qualifier in java?

2276