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 are extraneous variables examples?

1017


Explain about the security aspect of java?

925


Why is it called buffering?

1056


How to read and write image from a file ?

997


give an example for encapsulation?

989


How do you compare values in java?

980


What is jee6?

1012


What is the difference between jdk and jre?

1007


How to create a base64 decoder in java8?

1006


What are the differences between include directive and include action?

1084


When do we need to use internal iteration? When do we need to use external iteration?

1065


What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?

901


Discuss 2D arrays.

1003


Can we override constructors?

942


What is difference between pointer and reference?

999