Question: why main method is void in java?
Answer: The main() method is static so that JVM can invoke it without instantiating the class. ... Void: It is a keyword and used to specify that a method doesn't return anything. As main() method doesn't return anything, its return type is void. As soon as the main() method terminates, the java program terminates too.