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
Is a class subclass of itself?
how we can create packages in java?
What is a ternary operator in java? What is an interface?
What is a Presistent Object?
What is the difference between path and classpath variables?
What is early binding and late binding in java?
Why do people says “java is robust”?
Explain different states of a thread in java?
Why should we use singleton pattern instead of static class?
What is the basic of java?
Why arraylist is used in java?
Explain the use of volatile field modifier?
Explain the importance of throwable class and its methods?
How to compare two strings in java program?
How do I start learning java?