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 the use of default method in interface in java? Explain

928


Difference between ‘>>’ and ‘>>>’ operators in java?

1072


How to sort an array from smallest to largest java?

941


Why does java not support operator overloading?

1079


How do you escape in java?

1002


What are the different tags provided in jstl?

912


What do you mean by byte code?

953


How can we use primitive data types as objects?

899


What does the “final” keyword mean in front of a variable? A method? A class?

941


Can we have two main methods in a java class?

989


What is the difference between the paint() and repaint() methods in java programming?

1131


How to set the permissions to a file in java?

937


What is java object name?

937


What is a boolean used for?

1056


how we can make a write-only class in java?

968