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
Explain java code for recursive solution's base case?
what are the disadvantages of indexes in oracle?
How many ways can we create the string object?
Will set allow duplicates in java?
How do you detect memory leaks?
What is difference in between java class and bean?
Can an anonymous class be declared as implementing an interface and extending a class in java programming?
How do you use spaces in java?
How do you use parseint in java?
How to create com object in Java?
What is bufferedreader in java?
What is a class instance variable?
What is constructor chaining and how is it achieved in java?
Can a class have more than one object?
What is the difference between stream and buffer?