what is purpose of writting public static void main(Strind
arg[]) in java..?
Answer Posted / srinivas nallavelli
public-> it must be available to jvm
static-> to use without instantiation
void-> does not return any thing
String[] args -> to take every variable as string
..through cmmand line arguements
Is This Answer Correct ? | 17 Yes | 1 No |
Post New Answer View All Answers
What is java instanceof operator?
what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread
Why does java not allow multiple public classes in a java file ?
What class of exceptions are generated by the java run-time system?
What is the difference between abstract classes and interfaces?
What is the final class modifier?
When will we use them?
What is meant by nested loop?
java Technical questions asked by JPMC
Why is java architectural neutral?
What is a byte array?
What does three dots mean in java?
What is static data type in java?
How do I get 64 bit java?
What is difference between string and stringbuffer?