can you use the two main method in same class?how?
Answer Posted / shreedream
yes
in java language support the method Overloading, so we can
use the two main method in same class but it should have
different parameter list?
| Is This Answer Correct ? | 45 Yes | 2 No |
Post New Answer View All Answers
What is the set interface in java programming?
Explain implementation and how is it different from conversion?
What is covariant return type?
Can java object be locked down for exclusive use by a given thread?
Difference between predicate, supplier and consumer ?
What restrictions are placed on method overloading in java programming?
What is the generic class?
What is an association?
What is the purpose of the wait(), notify(), and notifyall() methods in java programming?
What is a class variable?
Explain the importance of throwable class and its methods?
What about instanceof operator in java?
What is a newline character in java?
what do you understand by the term string with respect to java?
What is the purpose of lambda expressions?