Computer Applications

Why is the main method in Java so special?

Encapsulation & Inheritance in Java

16 Likes

Answer

Execution of the Java program begins with the main method. It is the main entry point to the program. It is called by Java Virtual Machine (JVM) to start the execution of the program.

Answered By

10 Likes


Related Questions