What is meant by a method ?

What is meant by a method ?

A method is a group of instructions enclosed by the curly braces{}.

 A method has a specific signature having the method name along with the parameter list and a return type. Methods describe the behaviour of the class. Methods are where the real work gets done,date get manipulated and algorithms implemented.


By:Jalees
Date:2012-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher