What is void main in java

What is void in java :-

 -> In java void is a keyword ,and it is the return type of the main method.
 -> When the return type of the main method is void then it not return any value to the caller of the main method. 
What is void main in java


program for void :-
class demo
{
 public static void main (String args[])
 {
   int data =105;
   System.out.println(data); // 105.
   double x = call();
   System.out.println(x); // x is a local variable //100.00 is stored in stack area.
 }
  static int call()
  {
   return 100; 
  }
} // caller of the main method.
output :-
What is void main in java


What is main in java :-

    Main is a method which is declared by Sun Microsystem , defined by the programmer and called by JVM.

void call(); //declare a method.
void call()
{// starting body
method definition.
} // end body.
void display()
{
call(); // method calling;
   

What is the argument of main method ?

Answer :-
               Main method having only one parameter (i.e. (String args[])) which is [ array reference of string type]   

for more detail follow my Instagram id - https://www.instagram.com/asitmaharana10/

Thank you.