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
What is a war file?
What is string syntax?
why an outer class cannot be declared as private?
What are the two types of streams offered by java 8?
What is finally block?
What is meant by flickering?
java Technical questions asked by JPMC
What is ‘is-a ‘ relationship in java?
What is a platform?
How will you reverse a singly-link list?
why are there separate wait and sleep methods? : Java thread
How do you add an arraylist to an array in java?
How do you clear a method in java?
define the terminology association.
Where are global variables stored?