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
how to create constants in java?
Can you sort a string in java?
What is set string?
What is the access scope of protected access specifier?
Which data type is a class in java?
Where is singleton pattern used?
What is off heap memory?
How do you create a null object?
What is the difference between abstract classes and interfaces?
how would you implement a thread pool? : Java thread
How does a for loop work?
What does pointer mean?
Why is logger singleton?
What is serial version uid and its importance in java?
What is the byte range?