What is return type of main method

What is return type of main method

Answer: main method does not return anything it is void as shown below:

public static void main(String args[]) {		
}

Leave a Reply

Your email address will not be published. Required fields are marked *