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 are the elements of java?
What is the difference between variable declaration and variable initialization?
Can we overload run() method in java?
How do you do a line break in java?
What is nested class?
What is api in java?
What do you understand by garbage collection in Java? Can it be forced to run?
What is return keyword in java?
How can we break singleton in java?
Which is better stringbuilder or stringbuffer?
What is the difference between a break statement and a continue statement?
Is singleton set an interval?
Explain implementation and how is it different from conversion?
What is the use of string and stringbuffer?
What is the difference between java applets and applications?