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 difference between java applets and applications?
What are the 6 boolean operators?
What is a Presistent Object?
Why is stringbuffer thread safe?
What are keywords give examples?
What does compareto () do in java?
What are access specifiers available in java?
What is multiple inheritance? Is it supported by java?
What is a nonetype?
How do you add an element to a hashset in java?
What are facelets templates?
Explain about strings in java?
Is java an ide?
Where local and global variables are stored?
Is main a keyword in java?