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
How can I right-justify a string?
What are different types of inner classes ?
What is difference between stringbuffer and string?
What is n in java?
What is tree in java?
What is sorting algorithm in java?
What are the differences between string and stringbuffer?
Can we use a switch statement with strings?
What is a jagged array in java?
What is use of inner class in java?
What’s the difference between applets and standalone program?
What isan abstract class and when do you use it?
Why is String immutable?
Should you use singleton pattern?
Explain java heap space and garbage collection?