Is main method predefined in Java?

main(): It is a default signature which is predefined in the JVM . It is called by JVM to execute a program line by line and end the execution after completion of this method.

Sizin İçin Seçtik  Is it necessary to use constructor in a class?

Leave a Reply

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