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

What is the problem with multiple inheritance?

0 Answers  


Program to read a comment string

1 Answers   IBM,


What is encapsulation in oop?

0 Answers  


why overriding?

3 Answers  


why c++ is called OOPS? waht is inherutance? what is compiler?

5 Answers  


what is an qt4 interface?

1 Answers   IBM,


What is a class and object?

0 Answers  


What is oops?what is its use in software engineering?

0 Answers  


What is Dynamic Polymorphism?

13 Answers  


What is use of overloading?

0 Answers  


Write a program to find out the number of palindromes in a sentence.

1 Answers   TCS,


What is inheritance in simple words?

0 Answers  


Categories