What happens when the main() isn't declared as static?
Answer Posted / nashiinformaticssolutions
When the main method is not declared as static, then the program may be compiled correctly but ends up with a severe ambiguity and throws a run time error that reads
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Are arrays static in java?
What is argument in java?
What is a treeset in java?
Is class forname reflection?
What do you know about the garbate collector?
Explain importance of finally block in java?
Why is logger singleton?
What is set and get methods in java?
Why are getters and setters used?
What does the string method compareto () do?
What are the different types of constructor?
Differentiate between class and structure.
What is the vector class in java programming?
What are the three best choices for a development environment?
Does set allows null in java?