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
v-model life cycle
Is math an abstract class in java?
Why string is immutable with example?
What is gc()?
Explain about interrupt() method of thread class ?
Can you call a method on a null object?
Why do you canvas?
If we don’t want some of the fields not to serialize how to do that?
What is dot operator?
Why should we use singleton pattern instead of static class?
Is zero a positive integer?
How a string is stored in memory?
When is finally block not called?
Which variable is the independent variable?
What is object-oriented programming?