Answer Posted / saravanan.v
Java is a object oriented language.So even main method also should be written inside a class name main class.So main method should be called WITHOUT CREATING OBJECT for main class.For this purpose, it is declared as static.
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Is empty in java?
What is the static field modifier?
What is the meaning of find and replace?
What is the maximum size of array in java?
Why Java doesn’t support multiple inheritance?
How can you add and remove nodes in jtree?
What is locale?
Can we have more than one package statement in source file ?
Is ++ operator thread-safe in java?
Can a class extend more than one class?
Is sizeof a keyword in java programming?
why not override thread to make a runnable? : Java thread
How do you detect memory leaks?
What is the use of callablestatement?
Can constructor be synchronized?