+ 4

what is "main" really

what is "main() " ???

7th Nov 2018, 11:30 PM
Mik
Mik - avatar
6 Answers
+ 22
After viewing this code your problem will be resolved https://code.sololearn.com/cxQRlmdcY73I/?ref=app
12th Nov 2018, 1:00 AM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar
+ 14
https://code.sololearn.com/cZUCx2veJX3k/?ref=app
11th Nov 2018, 10:21 PM
MeanMachine
MeanMachine - avatar
+ 8
main() is the method that the JVM uses to start execution of a Java program. First off, it's important for you to know that naming a method main() doesn't give it the superpowers we normally associate with main(). As far as the compiler and the JVM are concerned, the only version of main() with superpowers is the main() with this signature: public static void main(String[] args) class Example{ // A Java program begins with a call to main().   public static void main(String[] args){     System.out.println("code = coffee + developer");   } } https://en.wikipedia.org/wiki/Entry_point
8th Nov 2018, 12:52 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 6
A starting point of your program In a thousand lines of codes and several files, surely your program need to know where to start
7th Nov 2018, 11:35 PM
Taste
Taste - avatar
+ 6
big thk to all
8th Nov 2018, 10:12 PM
Mik
Mik - avatar
+ 6
Kevinstone 👍Welcome! 😉 I'm glad if I helped! 😊
8th Nov 2018, 10:29 PM
Danijel Ivanović
Danijel Ivanović - avatar