What is meant by a method ?

What is meant by a method ?

Methods are similar to functions or procedures that are available in other programming languages.

Method signature contains method name and parameter list. 

A method contains a set of statements that are combined to do a particular task. And, methods are of two types like predefined library methods and user defined methods.method declared inside class.


By:Sumit Tripathi
Date:2020-05-15 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