What happens when a main method is declared as private?
Answer Posted / ashish
it compile easily... but it will give an error at the time
of execution .....
Is This Answer Correct ? | 12 Yes | 5 No |
Post New Answer View All Answers
When do we need to use internal iteration? When do we need to use external iteration?
Why do people says “java is robust”?
What class allows you to read objects directly from a stream in java programming?
What is treemap in java?
How is Object Oriented Programming different from Procedure Oriented Programming?
can java object be locked down for exclusive use by a given thread? : Java thread
Why hashmap is used in java?
What is final variable?
Can an integer be a string?
How many types of equations are there?
Is integer passed by reference in java?
List some features of the abstract class.
Where and how can you use a private constructor?
Where are global variables stored?
Can we overload the constructors?