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
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
What is meant by distributed application? Why are we using that in our application?
Do I need java for windows 10?
How do you empty a list in java?
What restrictions are placed on method overriding in java programming?
Write a program to print the pattern given below
What is a null check?
Can inner class final?
What is thread count in java?
How to create a fecelet view?
Can we create our own daemon thread?
Which collection does not allow duplicates in java?
When is the finalize() called? What is the purpose of finalization?
What is the difference between Array and Hash Table?
What is a newline character in java?