What is the use of static keyword in "public static void
main()"
Answer Posted / rajesh
Execution starts from main method, but in this statement
importance of "static" is, it load in memory even before
first object is instantiated.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a constructor overloading in java?
What is a war file?
What is isa relationship?
What are the elements of java?
What is generic type?
Tell me how many ways are there to initialise an integer with a constant.
Why can't we make a class private in java?
Is math an abstract class in java?
What is final method in java?
What is an exception in java?
Why is it called boolean?
Why put method is idempotent?
What is a pattern what is an anti pattern?
Which variables are stored in stack?
Why is stringbuffer called mutable?