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

What is the difference between stringbuffer and stringbuilder class?

1043


What does exp mean in math?

941


What is arrays aslist in java?

928


What is a module function?

1032


Is 0 true or false in java?

954


Why is logger singleton?

1028


Explain super keyword in java.

1002


Why are constructors used?

967


Can we force the garbage collection to run?

902


What is static class

1058


Is null a string in java?

1016


What is difference between path and classpath?

1085


Can we override private method?

1046


Which eclipse is best for java?

962


What is string builder?

845