why we write public static void main (String args[])
in core java plz explain briefly??????????????????
Answer Posted / sreenivas p
JVM looks for the main method(from where it starts
execution) with the same signature(public static void
main(String args[])) if it coud not find throws
NoSuchMethodError.
valid signatures are:
public static void man(String args[])
static public void main(String a[])
Invalid signatures
static void main()
public static main(String args[]) etc..[treats these
are all as general methods ]
Is This Answer Correct ? | 16 Yes | 3 No |
Post New Answer View All Answers
Which variable is the independent variable?
Where are variables stored?
What is ‘has a’’ relationship in java?
Is string thread safe in java?
According to java operator precedence, which operator is considered to be with highest precedence?
How many types of interfaces are there?
Why do we declare a class static?
What does mean in regex?
What are the features of java?
What happens to a static var that is defined within a method of a class?
Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me
explain multi-threading in java?
What is the difference between compare and compareto in java?
Which java ide is used the most?
What are the new features in java 8?