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


Please Help Members By Posting Answers For Below Questions

What about abstract classes in java?

614


Write a program to calculate factorial in java?

590


What does g mean in regex?

570


Why is stringbuffer called mutable?

567


What is style and indentation?

558






Does java have a compiler?

561


What does function identity () do?

521


What is the main advantage of passing argument by reference?

507


What is multi level inheritance in java?

564


what is meant by encapsulation?

633


Where are global variables stored?

509


What does indexof mean?

538


How can we break singleton in java?

528


What is boolean example?

533


What is the difference between normal report & matrix report?

575