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
Is string a data type in java?
How to perform linear search in java?
Do you know how to reverse string in java?
Explain about static nested classes in java?
What are the main differences between the java platform and other platforms?
What are the states of thread in java?
How do you compare two objects?
What are static blocks in java ?
How do you print array in java?
What types of index data structures can you have in java?
What is a generic data type?
What is backdrop?
What are the procedures?
When should I use singleton?
What is a method in coding?