Question:
What do u mean by "method" in java ? Answer:
Java methods are similar to functions or procedures in other programming languages.
Every Java program must have one main() method.
Here is the main() method from a Java program which prints "Hello World":
public static void main (String[] args) { // This Java program prints "Hello World!" System.out.println{"Hello World!"); Source: CoolInterview.com
Methods are similar to functions or procedures that are available in other programming languages.
Its just a Object oriented programming term that used in Java.
I guess you already know, 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. Source: CoolInterview.com