What happens when a main method is declared as private?
Answer Posted / vani
Nothing Happen.
Code compiles properly and executes properly.
| Is This Answer Correct ? | 5 Yes | 76 No |
Post New Answer View All Answers
What is the difference between iterator and enumeration ?
Can private class be inherited in java?
What is arraylist e?
What does %4d mean in java?
What is scanner in java?
Can an interface be defined inside a class?
How many types of gc are there in java?
What is listnode in java?
What are internal and external variables?
What does int argc char * argv [] mean?
What does compareto () do in java?
How to sort elements in a parallel array in java?
What is the difference between this() and super() in java?
What are advantages of exception handling in java?
Can a class declared as private be accessed outside it’s package?