What happens when a main method is declared as private?
Answer Posted / maduakor ngozi chukwukodinaka
When a method is declared as private, the program compiles
properly but it will give runtime error ?Main method not
public".
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Difference between this() and super() in java ?
Is java developer a good career?
What are kinds of processors?
Which collection is best for sorting in java?
What is split return?
Which methods are used during serialization and deserialization process?
What is e in java?
Does java trim remove newline?
What is == and === in javascript?
What’s the difference between applets and standalone program?
whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net
Which class contains a method: cloneable or object?
What is data object example?
Explain about the dynamic behavior of core java?
Why multiple inheritance is not supported by java?