can you use the two main method in same class?how?
Answer Posted / reddy
yes
it is possible in java by passing different parametes to
the main method
| Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
What does a za z0 9 mean?
What is difference between local variable and global variable?
Is java written in c?
Can list be null in java?
What flag up means?
How does the garbage collector works in java?
What is the difference between interface & abstract class?
What are the different collection views provided by maps?
What is the difference between public, private, protected, and friend access?
What is the final access modifier in java?
What is boolean query?
Can we create constructor in abstract class ?
Are arrays classes in java?
What are the 7 types of characters?
Why Java doesn’t support multiple inheritance?