public static void main(String[ ] args) | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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 ответов
+ 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