What is the use of static keyword in "public static void
main()"
Answer Posted / p.r.gupta
the use of static is for static methods we need not to
create any object,so internally jvm calls like classname.method
Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What are the object and class classes used for?
What is binary search in java?
Is hashset sorted in java?
How do you override a variable in java?
What is outofmemoryerror in java?
What is the use of runnable interface?
Is java jre still free?
What is collection class in java?
When we serialize an object does the serialization mechanism saves its references too?
Why is multiple inheritance not supported in java?
How hashmap works in java?
What is a dynamic array java?
If an object reference is set to null, will the garbage collector immediately free the memory held by that object?
Who is the owner of java?
Can a class be defined inside an interface?