Methods:
A java method is Collection of statement that are grouped together to perform an operation.
*methods= behavior.
How jdk identify a method is starting with the symbol ().
Main methods:
Main method= important activity. Example: bike. Main method have method body or method definition within the open and close brackets.
Jvm starts reading the program from the main method.
*Declarion part ex=int tamil, english;
*Initialization part ex=int tamil=90;
int english=80;
Method example:
Static keyword:
Static members are common to all the objects. It associated with class, rather than with any object.
Static doesn't mean a constant. And store only ones.
It is a class level memory.
Reference by: tutorials point and mathbit. Com