What happens when a main method is declared as private?
Answer Posted / vani
Nothing Happen.
Code compiles properly and executes properly.
| Is This Answer Correct ? | 5 Yes | 76 No |
Post New Answer View All Answers
What is sortedmap interface?
What is the main difference between java platform and other platforms?
What is Java Reflection API? Why it’s so important to have?
What is intern method in java?
Why is stringbuffer called mutable?
how to create daemon thread in java?
What is main function purpose?
Is it necessary for the port addresses to be unique? Explain with reason.
If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?
What is keyword auto for?
What is a map in java?
Can we have 2 main methods in java class?
What does sprintf mean?
What is difference between length and length() method in java ?
Is java a virus?