What is main () in Java?

The main() is the starting point for JVM to start execution of a Java program . Without the main() method, JVM will not execute the program. The syntax of the main() method is: public: It is an access specifier.

Sizin İçin Seçtik  What is the type of a class object?

Leave a Reply

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