47.9k views
15 votes
Which method is the starting point of all java programs? ​

User Dawid Pura
by
3.5k points

1 Answer

9 votes

Answer:

Java main method is the entry point of any java program. Its syntax is always public static void main(String[] args) . You can only change the name of String array argument, for example you can change args to myStringArgs .

User Zupo
by
3.7k points