What happens when the main() isn't declared as static?
Answer / 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 |
What is the Concept of Encapsulation in OOPS
Is char a data type in java?
What are the ways to instantiate the class class?
What is flag in python?
give me the answer of this code class A extnds String This code we can write r not in Java? Explain?
Which sorting is used in arrays sort in java?
List primitive java types?
Explain the purpose of garbage collection in Java?
worst case complexities of Quick sort and Merge sort.
What is meant by final class?
What is Remote Interface ?
Explain the difference between abstract classes and interfaces in java?