What is the use of static keyword in "public static void
main()"
Answer Posted / mary kamal
Static keyword is identified by jvm at the time of class loading,so main() function is the jvm known function it should be identified at the time of class loading...so hence it is named as static
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is ide with example?
What are the new features in java 8? Explain
How do you clear a method in java?
What is the difference between == and === javascript?
Is zero a positive integer?
What are different types of constants?
What is ph and buffers?
In java, what is the difference between method overloading and method overriding?
List the different types of classloaders in java.
Explain the difference between jvm and jre?
What is an arraylist in java?
Why convert an applet to an application?
When is update method called?
Can we create constructor in abstract class ?
What are the Class Libraries ?