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 |
is java support call by reference and call by value, if supports please explain?
what is an object class?Explain its methods?
Can we inherit the constructor in a Class?please give one example.
What are access specifiers available in java?
Write a method that will remove given character from the string?
What is stringreader?
What is supplier in java?
Can we serialize singleton class?
What are decalarations?
3) Suppose you are a very rich person, having 50 rooms and you have lost the key for one of the room's. How effectively you can find this key? (Qs2 and Qs3 are related)
What is meant by method?
What is a numeric format?