What happens when a main method is declared as private?
Answer Posted / subha narayan mohapatra
it will generate an error message because main() method is
the start or execution point in our java program.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is immutable in java?
What is the maximum size of byte array in java?
Explain notifyall() method of object class ?
How do you use spaces in java?
What do you mean by formatting?
What is sortedset in java?
What are "class access modifiers" in Java?
What is command line argument
What is java developer skills?
What is object of class in java?
What is the benefit of lambda expressions?
How can you make a class serializable in java?
What languages are pass by reference?
What is the main purpose of serialization in java?
What is class array in java?