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 is encapsulation with example?

1022


What is the problem with multiple inheritance?

1094


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

2078


What is the main purpose of inheritance law?

1146


c++ program to swap the objects of two different classes

2357


what is difference between class template and template class?

2596


What is oops concept with example?

967


What causes polymorphism?

1067


What is debug class?what is trace class? What differences are between them? With examples.

2131


What are the 4 main oop principles?

1160


How do you achieve polymorphism?

1036


State what is encapsulation and friend function?

1190


What is destructor example?

986


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

2074


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

2282