- 5

What is main method is public

1st Jun 2022, 10:13 PM
Awadhut Bhagawan Yenkar
1 Odpowiedź
+ 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.
2nd Jun 2022, 9:35 AM
A͢J
A͢J - avatar