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
How many ways can an argument be passed to a subroutine and explain them?
Why is it called buffering?
What is a Presistent Object?
Difference between nested and inner classes ?
Explain what pure virtual function is?
How variables are stored in memory?
What's the difference between comparison done by equals method and == operator?
What is the use of math abs in java?
What's a method in programming?
What is the order of arraylist in java?
What is an array in java?
What is the difference between delete and delete[]
Is space a character in java?
What are the two main uses of volatile in Java?
What is difference between == and === in js?