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

Where You Can Use Interface in your Project

0 Answers   KPIT,


WHAT'S THE OOPS BASIC OOPS CONCEPTS IN DOTNET

1 Answers  


what is oppes

2 Answers  


write string class as your own class in java without using any built-in function

0 Answers  


What is conditional Compilation?

3 Answers   emc2, HCL,


what is Class in oops with example?

4 Answers   HCL,


Name an advantage of linked list over array?

11 Answers   IBM, Infosys,


How is exception handling carried out in c++?

3 Answers  


WHAT IS ABSTRUCT DATA TYPE ? PLEASE EXPLAIN IT.

4 Answers   HCL,


What makes a language oop?

0 Answers  


What is the difference between an object and a class?

3 Answers  


What is object in oops?

0 Answers  


Categories