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

Write a program to reverse array in place?

1011


What string is utf8?

919


What is the difference between a constructor and a method?

1153


What is the flag in java?

988


If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

1078


Can you have two constructors in java?

897


What does exclamation mean in java?

1010


Can a static block throw exception?

1045


What is array sorting in java?

990


Is oracle java 11 free?

897


Why convert an applet to an application?

1040


What is functional interface in java example?

934


How a string is stored in memory?

953


What is JDBC Driver interface?How can you retrieve data from the ResultSet

2045


What are synchronized blocks in java?

1055