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
How is final different from finally and finalize?
What is byte [] in java?
Which of the following classes will have more memory allocated?
What is an argument in java?
What is boolean example?
What is meant by attribute?
What is java util hashmap?
What is javac used for?
Is empty .java file name a valid source file name?
What is runtime polymorphism or dynamic method dispatch?
Can a method be static?
Can the garbage collection be forced by any means?
How will you load a specific locale?
What is bubble sort in java?
What is visibility mode?