viewquestions/10316/If I dont provide any arguments on the command line then the String array of Main method will be empty or null

The Eduladder is a community of students, teachers, and programmers just interested to make you pass any exams. So we solve previous year question papers for you.
See Our team
Wondering how we keep quality?
Got unsolved questions?

Ask Questions

Hey, We have just launched eduladder videos.Looking for creators and contributors Read Guideline
10is753-Unit--1-java-and-j2ee-->View question

What is the importance of main method ,in java?

Without main method can we execute the code or not?


Taged users:


Be first to dislike this question

Talk about thisDelete|Like|Dislike|


When a program starts running, it has to start execution from somewhere. That somewhere is called main . You can compile any Java class without a main method, but a standalone application can't run without a main() method *. The main method is the method that's defined to be called at the start of an application                                                                            


Be first to like this answer

Be first to dislike this answer
Talk about this|Once you have earned teacher badge you can edit this questionDelete|Like|Dislike|

Can you help us to add better answer here? Please see this

Not the answer you're looking for? Browse other questions from this Question paper or ask your own question.

Join eduladder!