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
What is application system?
Define an applet in java?
Differences between C and Java?
What is javac used for?
What is the difference between static class and normal class?
What is queue in java?
hr interview how many minutes asking question
What is contract between hashcode and equal method?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
What are basic data types?
what is difference between equals and ==?
Does windows 10 need java?
What language is an assembler written in?
What is the r character?
Which method returns the length of a string?