public static void main(String[ ] args) | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 3

public static void main(String[ ] args)

can somebody explain what "public static void main(String[ ] args)" does any do i need it?

30th Aug 2018, 7:43 PM
The8BitEmo
The8BitEmo - avatar
3 Respostas
+ 4
It's your main function. It's extremely important, without it, your program won't run.
30th Aug 2018, 7:52 PM
Jonas Schrƶter
Jonas Schrƶter - avatar
+ 7
Is the entry point of a Java program. šŸ¤—šŸ™†ā€ā™‚ļø šŸ’—
31st Aug 2018, 12:39 AM
NimWing Yuan
NimWing Yuan - avatar
+ 3
main method is entry point for your java project. if you are beginner you haven't to know how this method exactly works. you can learn this method later when you learn java more. otherwise you can find many information on the internet.
30th Aug 2018, 8:10 PM
Ilias
Ilias - avatar