What happens when a main method is declared as private?
Answer Posted / pankaj kumar
i have checked it using c# in visual Studio.
then i found that there is no error in compilation or in run.
it is giving right output as we want without any error.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
In how many ways we can do exception handling in java?
What is the difference between choice and list?
How do you add an element to an arraylist in java?
What is break and continue statement?
When arithmeticexception is thrown?
What 4 doubled?
How does compareto work in java?
List the different types of classloaders in java.
What is api in java?
What is scope & storage allocation of static, local and register variables? Explain with an example.
Can a class extends itself in java?
What is the difference between Grid and Gridbaglayout?
What is difference between path and classpath variables?
What is an infinite loop? How infinite loop is declared?
What is literal example?