+ 1
Java programming
Please guys help to understand why java programming is beginning with Public class main?
1 Answer
+ 1
It will be explained better in Lesson 27 of the Sololearn Java course.
In a nutshell, the main method is a mandatory part of every Java program, with a prescribed signature, it is where the program execution begins.
Your program can contain multiple classes, and one of them must have a main method.