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 is costructor?



what is costructor?..

Answer / dipraj shahane

Constructor is special member function of class which having
same name as Class name and no return type. Main function of
Constructor is to initialize (give default values to member
variable of class object) object. Constructor gets invoke
when you create new object by following syntax.

ClassName objectName = new ClassName();

Is This Answer Correct ?    22 Yes 0 No

Post New Answer

More OOPS Interview Questions

Get me a number puzzle game-program

0 Answers  


What are callback functions in c++

1 Answers   SoftTech,


Write pseudo code for push in a stack?

2 Answers   emc2,


How is polymorphism achieved?

0 Answers  


char* ptr = "Rahul"; *ptr++; printf("%s",ptr); What will be the output

9 Answers   Persistent,


What is persistence in oop?

0 Answers  


What is encapsulation in oops?

0 Answers  


Can java compiler skips any statement during compilation time?

0 Answers  


What are the 3 pillars of oop?

0 Answers  


what is difference between c++ language and java language

5 Answers  


Which language is not a true object oriented programming language?

0 Answers  


Why interface is used?

0 Answers  


Categories