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

What is a method ?

Answer Posted / janet

Methods are functions that operate on instances of classes
in which they are defined.Objects can communicate with each
other using methods and can call methods in other
classes.Method definition has four parts. They are name of
the method,type of object or primitive type the method
returns,a list of parameters and the body of the method. A
method's signature is a combination of the first three
parts mentioned above.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the files generated after using IDL to java compiler?

1098


What are the elements of java?

973


What is difference between array and vector?

1049


Does constructor be static?

996


How to handle a web browser resize operation?

1013


Can we use a switch statement with strings?

984


What do you mean by inner class in java? Explain

1013


What are the characteristics of java?

988


Can list be null in java?

992


In java, what is the difference between method overloading and method overriding?

1063


What is use of set in java?

938


What is the memory leak in java?

976


What is the main function in java?

1012


What is a method in coding?

998


When should a function throw an exception?

1000