Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
why we can use main method in java
Posted
Comments
Shubhashish_Mandal 14-Sep-13 5:10am    
Again an old frequently asked question. Google it you will get the answer.
H.Brydon 14-Sep-13 20:55pm    
You said "why" - did you perhaps mean "how"?

If you couldn't use the main method in java, it would always have to be started from another language API or some other entry point convention.

1 solution

 
Share this answer
 
Comments
Shubhashish_Mandal 14-Sep-13 5:16am    
For such type question instead of googling for OP, leave it for him/her

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900