Which method is the starting point of all java program? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Which method is the starting point of all java program?

6th Dec 2020, 2:41 PM
vanshika choudhary
vanshika choudhary - avatar
4 Answers
+ 5
vanshika choudhary Java main method... Java main method is the entry point of any java program. Its syntax is always public static void main(String[] args) .
6th Dec 2020, 2:44 PM
ㅤㅤㅤ
+ 2
vanshika choudhary Already given here and you have already started to learn. https://www.sololearn.com/learn/Java/2137/
6th Dec 2020, 2:52 PM
A͢J
A͢J - avatar
+ 2
vanshika choudhary in the course itself it's there on the first main lesson! ~As a summary: - Every program in Java must have a class. - Every Java program starts from the main method. -by sololearn
7th Dec 2020, 7:15 AM
Piyush
Piyush - avatar
+ 1
Main method
6th Dec 2020, 2:41 PM
Manash Saikia [ 45% Active ]
Manash Saikia [ 45% Active ] - avatar