Tag: main

  • The main() method

    The main() method

    When we execute a Java program, the JVM (Java Virtual Machine) will look for the main() method to start a Java process for our program and then the JVM calls the underlying system in which is running to allocate memory and CPU time, an so on, until the program terminates.