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 is a nested structure?

528


What are green threads in java?

550


What are wrapper classes in java?

592


Why java does not support pointers?

555


What is a website container?

497






How many types of keywords are there?

557


What are different types of encoding?

578


What is null data type?

533


What is the diffrence between inner class and nested class?

557


How will you initialize an Applet?

614


Why unicode is important?

463


List the three steps for creating an object for a class?

510


what do you mean by java annotations?

540


Do I need java for windows 10?

546


Find the value of a specified element of the array arr[i] where 0 <= i <= n-1

534