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 meant by constructor?

Answer Posted / suman blazta

Constructors are used to create and initialize objects of their class type.
Constructor is a special member function that takes the same name as the class name.The constructor is automatically named when an object is created. A constructor is named whenever an object is defined or dynamically allocated using the "new" operator.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is string a class?

1091


What is static in java?

1155


How to change the priority of thread or how to set priority of thread?

1071


What are the differences between Java 1.0 and Java 2.0?

2340


Are generics important java?

1031


Is string serializable in java?

1064


What is command line argument

1237


What is java lang string?

1056


What are the 2 types of java programs?

1153


How many static init can you have?

1264


What are the different types of inheritance in java?

1039


Can arraylist hold different types java?

1030


Define the term string pool?

1050


What are parameters in a method?

1154


What is an arraylist in java?

1151