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 / ejp

A constructor isn't required so the question is futile. Both
answers above are wrong.

Specifically, in reply #1, 'if constructor is not
there,variables might be taken the garbage values' is itself
complete garbage.

Reply #2, is mostly irrelevant, but this statement 'to call
them we need pass parameters in main method' is also wrong.
Parameters are not required, and the reference to the main
method is pointless.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is double in java?

936


What is the use of private static?

1015


What's the difference between int and integer in java?

1112


What is the difference between a static and a non-static inner class in java programming?

1016


What is a data structure java?

965


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

976


What is variable and example?

929


Explain about method local inner classes or local inner classes in java?

986


Why multiple inheritance is not supported by java?

947


Java is pass by value or pass by reference? Explain

953


What is number data type?

987


Which of the following is not an isolation level in the JDBC

2092


What are the advantages of java?

948


Why are functions called methods in java?

960


Is there a sort function in java?

935