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
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
What is the collections api?
What is an enumeration?
Explain about map interface in java?
Is sizeof a preprocessor?
What is the simpletimezone class in java programming?
When is an object subject to garbage collection?
What variables are stored in stack?
How many ways can we create singleton class?
List down the methods and interfaces of collection class in java.
How do you add spaces in java?
What is the applet security manager, and what does it provide?
What is the benefit of inner / nested classes ?
Can you access the private method from outside the class?
What is the use of predicate in java 8?