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...

Explain role of constructor in a java application?

Answer Posted / harini

The main purpose of construtor is to initialize instance
variables.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you define a parameter?

1081


What is user defined exception in Java?

1129


How many ways can we create the string object?

1060


Tell some latest versions in JAVA related areas?

1039


Can we inherit a class with private constructor?

1175


Where can I find jdk in my computer?

1029


Is java call by value?

1131


I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?

1067


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

2885


does java support pointers?

1045


What does += mean in java?

1127


Can we convert stringbuilder to string in java?

1028


What is a native method in java programming?

1107


What are bind parameters?

1090


What is the maximum size of byte array in java?

1067