0

What is the use of this statement "public static void main"? Is it important to use this statement in Java?

26th Jul 2019, 4:34 AM
Captain America
Captain America - avatar
2 Answers
0
Yes, the main method is an essential key element of every java program. As you progress in the java course, it will be explained in detail (when you get to the object-oriented chapter).
26th Jul 2019, 4:48 AM
Tibor Santa
Tibor Santa - avatar
0
you cant run aplication without main() it is place where your applicatin start execute code
26th Jul 2019, 9:14 AM
zemiak