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

Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.

932


What is meant by tab pans?

1251


What is local declaration?

973


Can you write a java class that could be used both as an applet as well as an application?

962


What is garbage collection? Can it be forced to run?

1012


What are the approaches that you will follow for making a program very efficient?

1079


What is java basic concept?

1050


What is the hashcode () and equals () used for?

1039


Is hashmap thread safe?

998


What is volatile keyword in java

1128


What is the advantage of functional interface in java 8?

998


Can an integer be null java?

1012


State the main difference between c++ and java?

1094


Explain the meaning of java applet.

1072


What is the difference between a method and a procedure?

1066