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 are the differences between Java 1.0 and Java 2.0?

2345


How do you define a method?

1040


What is map and hashmap in java?

1117


What is procedure writing?

1059


Explain reverse a linked list recursive java solution?

1043


How is it possible in java programming for two string objects with identical values not to be equal under the == operator?

1060


What is the += operator called?

1099


What are assembly attributes?

1062


Is space a char?

985


How do you sort in descending order in java using collections sort?

956


Implement two stacks using a single array.

1103


What is bytecode verifier?

992


What is the difference between yielding and sleeping?

1178


How do you reverse a string in java?

1203


What is a parameter example?

1026