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
Is null an object in java?
What is a methodologist?
What is the use of private static?
What is an immutable class? How to create an immutable class?
What is the difference between math floor and math round?
What is the program compilation process?
How do you sort objects in java?
What is meant by structural programming?
What is tree in java?
What is the difference between post and put?
What is the do while loop syntax?
What will be the initial value of an object reference which is defined as an instance variable?
What are generic methods?
Explain reverse a linked list recursive java solution?
Is stringwriter thread safe?