Is there is any error if you have multiple main methods in
the same class?
Answer Posted / bindhu
The compilation error " main(lava.lang.String[]) is
already defined " will occur when we use have multiple main
methods in the same class?
| Is This Answer Correct ? | 12 Yes | 2 No |
Post New Answer View All Answers
How do you implement polymorphism in our day to day life?
What is palindrome in java?
How does the java compiler work?
Is void a return type?
Is arraylist ordered in java?
What is an exception? difference between Checked and Unchecked exception in Java
What is == and === in javascript?
Where is singleton pattern used?
What are internal and external variables?
Explain when we should make an instance variable private.
What does a boolean method return?
Does apple use java?
List types of storage classes in java?
Can an interface extend another interface?
What is printwriter in java?