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 string builder in java?
What happens when you add a double value to a string?
What is passing parameters in java?
Can abstract class have private constructor?
What is the use of using enum to declare a constant?
'A class is a template for an object' explain this statement.
What is an interoperable application in java ?
Is it necessary for the port addresses to be unique? Explain with reason.
What is the purpose of void class?
What is the purpose of the system class in java?
What is bitwise complement?
What is variable explain?
why using interface interface ?
What is the difference between overriding & overloading?
What is string in java? String is a data type?