Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren- 5
What is main method is public
1 Antwort
+ 1
main is a starting point of Java program so you make it private JVM cannot access it directly so your program will not run.