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

Can you run java program without main method?

1062


What’s the difference between the methods sleep() and wait()?

1012


define the terminology association.

1104


How to display names of all components in a Container?

2940


Is hashmap thread safe?

991


What is the difference between C++ and Java and your preferences?

1113


State the main difference between c++ and java?

1088


What are the four corner stones of oop?

1037


What is difference between protected and private?

1077


What are the different data types in java?

1010


Can we print null in java?

1060


What all access modifiers are allowed for top class ?

1186


Explain the protected field modifier?

1097


What is meant by vector class, dictionary class, hash table class, and property class?

1156


What is empty string literal in java?

1057