0

What is the use of main method?

3rd Jan 2017, 6:07 PM
Vipul Aggarwal
Vipul Aggarwal - avatar
2 Answers
+ 4
It's where the program starts. Without a main method the computer wouldn't know where to start!
3rd Jan 2017, 6:09 PM
Robobrine
Robobrine - avatar
+ 1
we initialize Objects in main method...!!
3rd Jan 2017, 6:44 PM
Raman Bhardwaj
Raman Bhardwaj - avatar