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
What is the exact difference in between unicast and multicast object? Where we will use?
How are variables stored?
What is integer parseint?
Are maps ordered java?
Can a static class have a constructor java?
Do we have pointers in java?
How does arraylist size increase in java?
What is array command?
What is the use of arraylist in java?
How will you add panel to a frame?
What are singleton services?
Differences between external iteration and internal iteration?
State the significance of public, private, protected class?
Which data type is a class in java?
Is it necessary for the port addresses to be unique? Explain with reason.