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
Why parsing is done?
Can we override tostring method in java?
In a container there are 5 components. I want to display the all the components names, how will you do that one?
What are scalar data types?
What data structures are used to perform recursion?
Explain about data types?
What is array class in java?
Can we have return statement in finally clause? What will happen?
What java ide should I use?
When should I use singleton pattern?
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?
what are the high-level thread states? : Java thread
What is palindrome in java?
What is string length in java?
What is a cup of java?