Answer Posted / amit
look guys,we use main() method inside java cause whenever we
compile .java file then jvm call classname.main() first
without make any object.main method must be public and static
cause public for wide accessing and jvm call main() without
creating any object its only possible when main() is static
method.and all the argument taken by main in form of string
thats why we write as.......
public static void main(String args[])
it canbe
public final static void main(String args[])
| Is This Answer Correct ? | 24 Yes | 0 No |
Post New Answer View All Answers
what is an isolation level?
Describe responsibilities of Activator?
How primary key is implemented in Oracle?
A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions
What are the different algorithms used for clustering?
What are the design considerations while making a choice between using interface and abstract class?
What is table mutation and how do you avoid it?
What are the oops concept?
In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?
If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?
What is a class loader?
What is the relationship between the canvas class and the graphics class?
Are there books about seam?
Is infobus easy to use?
whats is mean by connectionpooling