What happens when a main method is declared as private?
Answer Posted / pankaj kumar
I have checked it proper in C# using visual studio.
its giving right output without any error at compile time or run time.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write code of any action class?
Can constructor return value?
What are the advantages of unicode?
How to make a write-only class in java?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
Should a main method be compulsorily declared in all java classes?
What is collection api?
Why are there no global variables in java?
Enlist few advantages of inheritance?
Is call by reference possible in java?
What is the order of arraylist in java?
Is the milky way in a void?
Which is the best approach for creating thread ?
Give any two differences between C++ and java.
What is string variable?