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...

Differentiate constructor and a method and how are it be
used?

Answer Posted / arunji,shc

constructor it should be same name of class but method name
is userdefined.
when the object created constructor call automatically but
method through the object have to call.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is return in java?

913


Difference between error and exception

5923


What do you understand by final value?

1006


What are java packages? What's the significance of packages?

1233


How can we avoid including a header more than once?

987


What is floor in java?

993


Can we write a class without main method in java?

904


What are the benefits of operations?

903


What is static and final keyword in java?

984


explain different ways of using thread? : Java thread

970


Difference between arraylist and hashset in java?

1077


What is the impact of declaring a method as final?

972


How do you compare two objects?

883


How to instantiate member inner class?

1032


What is the difference between yielding and sleeping in java programming?

1085