All Java applications must contain at least one method. The name of this method is either main() or Main()
true or false??
Sounds like a homework question to me! Try google, I just did and got the answer in all of the first page of links
i used the Main() but there's no syntax error..why is that so?? sorry im very new to java..
Show us your code and we can tell you what's wrong.
i used the Main() but there's no syntax error..why is that so?? sorry im very new to java..
You can call your method (almost) anything you like. But if you want the JRE to run your application, you have to have a method with exactly the right signature (name - case sensitive, return and parameter types)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.