What is the use of static keyword in "public static void
main()"
Answer Posted / sadikhasan palsaniya
static method can call without using Object name and can
call using Class name so JVM can use main method for execute it.
so it is require static keyword in main method. without
static JVM cant run Program.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is computer compiler?
What is variable argument in java?
What is native code?
What is the difference between public, private, protected, and friend access?
Explain JMS in detail.
What is a list in java?
Explain the importance of import keyword in java?
Explain the importance of finally over return statement?
What is loop in java?
Can we convert list to set in java?
What are the advantages of compiled language?
What is the byte range?
What is the purpose of default constructor?
What is meant by object?
What is the list interface in java programming?