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
If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?
What is in-memory replication?
Write a program to show synchronization?
what are memory considerations of jsp compares to other web components?
What is the form of storage space in java?
Why use a datasource when you can directly specify a connection details?
What is the infobus?
What is ioc concept & explain it?
wahts is mean by dynavalidatorform in struts/
which type of objects reference will be given to client?
Is the ternary operator written x : y ? Z or x ? Y : z ?
How can I avoid validating a form before data is entered?
What is the difference between RMI registry and OS Agent?
What is the relation between the infobus and rmi?
What are the services in RMI ?