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, why the constructor is required in implemented
class?

Answer Posted / sekhar

Constructor is like a method.It can be invoked as soon as
we create an object for the class.We can overload
constructor.to call them we need pass parameters in main
method.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the application of stack?

851


What is java thread dump, how can we get java thread dump of a program?

930


What is a method vs function?

978


What is == and === in javascript?

987


Are arrays classes in java?

963


What is the difference amongst jvm spec, jvm implementation, jvm runtime ?

910


What are the two environment variables that must be set in order to run any java programs?

904


Can we sort hashset in java?

1034


Can you give few examples of final classes defined in java api?

952


What is hotjava?

949


How do you check if a character in a string is a digit or letter?

1005


What is the use of keywords in java?

934


What kind of variables can a class consist?

996


Can we override the overloaded method?

1051


How to optimize the javac output?

959