what is "main" really | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 4

what is "main" really

what is "main() " ???

7th Nov 2018, 11:30 PM
Mik
Mik - avatar
6 Respostas
+ 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