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 is arguments in java?
How many bytes is string in java?
What is the difference between call by reference and call by pointer?
What is the difference between == and === javascript?
What is classes in java?
What is the purpose of return statement?
Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?
What are the features in java?
What is singleton class and how can we make a class singleton?
how to handle exceptions in ejb?
Why wait and notify methods are declared in object class?
Is null a string in java?
What is try-with-resources in java?
What is jpa specification?
What is skeleton and stub? What is the purpose of those?