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
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
what is the difference between future and callable interface in java?
What does @param args mean in java?
What is length in java?
What is ctrl m character?
Can a static block throw exception?
What is java virtual machine? Explain
What is a subsequence of a string?
What is number data type in java?
What is the structure of java?
Does variable declaration allocate memory?
What is the benefit of singleton pattern?
How do you stop a thread in java?
What is the parse method in java?
What is navigable map in java?