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

How do you compare two objects?

883


How to display all the prime numbers between 1 and 100

950


Why we override equals() method?

990


What is a java list?

1055


Is double bigger than float?

918


Can we clone singleton object?

1015


In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?

1278


How do you clear a list in java?

1058


Compare Mutex and Semaphore in java.

948


Does constructor creates the object ?

986


Can we inherit a class with private constructor?

1069


How can you set the applet size?

1000


How do you convert an int to a double in java?

1013


Explain where variables are created in memory?

970


What carriage return means?

920