can you use the two main method in same class?how?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / reddy
yes
it is possible in java by passing different parametes to
the main method
| Is This Answer Correct ? | 9 Yes | 5 No |
Answer / sanjay kalamdhad
yes,we can do it by method overloading concept in .net too but with using different signature.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / rajasekhar
yes
it is possible by using static inner class concept
| Is This Answer Correct ? | 4 Yes | 2 No |
How to pass arraylist to stored procedure in java?
What is the relationship between clipping and repainting under awt?
Can a class have a static inner class?
What are assembly attributes?
what are different ways in which a thread can enter the waiting state? : Java thread
What is the top class of AWT event hierarchy?
What is java’s garbage collected heap?
what is the difference between Java Command Line and C command Line?
What is the use of pattern in java?
What is the difference between double and float variables in java?
What is static binding and where it occurs?
What is the difference between stored procedure & function?