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


Please Help Members By Posting Answers For Below Questions

How do you decide when to use arraylist and linkedlist?

749


What does 3 dots mean in java?

743


Explain the overview of UDP messaging.

923


Where is const variable stored?

708


What is threaded programming and when is it used? : Java thread

780


How would you convert bytes to string?

766


What is e java?

779


what is the volatile modifier for? : Java thread

756


Which method cannot be overridden in java?

806


Which method returns the length of a string?

796


What does i ++ mean in Java?

720


Why deletion in linkedlist is fast than arraylist?

780


How to set the permissions to a file in java?

764


Difference between final and effectively final ? Why is effectively final even required ?

763


What is difference between string and new string?

761