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 does indexof work?
Why does abstract class have constructor?
Define nashorn in java8.
How to display all the prime numbers between 1 and 100
what is bmg file and how to create that files?what will it contailn?
What is the different between get and post?
What is the meaning of course?
What restrictions are placed on method overloading in java programming?
Is null function in java?
What is consumer interface?
What does flag mean in java?
Which of the following classes will have more memory allocated?
What is a java developer salary?
Is zero a positive integer?
What are methods?