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 about abstract classes in java?
Write a program to calculate factorial in java?
What does g mean in regex?
Why is stringbuffer called mutable?
What is style and indentation?
Does java have a compiler?
What does function identity () do?
What is the main advantage of passing argument by reference?
What is multi level inheritance in java?
what is meant by encapsulation?
Where are global variables stored?
What does indexof mean?
How can we break singleton in java?
What is boolean example?
What is the difference between normal report & matrix report?