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 / s.verma

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 ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Get me an image implementation program.

2044


What is byval and byref? What are differences between them?

2270


Is abstract thinking intelligence?

1109


Why do we use oop?

1170


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2596


How to call a non virtual function in the derived class by using base class pointer

6694


What are functions in oop?

1120


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

2255


when to use 'mutable' keyword and when to use 'const cast' in c++

2218


What is the main purpose of inheritance law?

1249


What are the 3 pillars of oop?

1245


what is the sylabus for priliminaries?

2225


What is the real life example of polymorphism?

1235


Why is oop better than procedural?

1145


Whats is abstraction in oops?

1142