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

Explain 5 features introduced in jdk 1.7?

809


What is the abstraction?

790


What is gui programming?

716


Explain the difference between abstract classes and interfaces in java?

840


What is meant by attribute?

779


What is a vararg?

748


What will happen when using pass by reference in java?

722


What is derived datatype?

882


What is numeric function?

726


Can we have try block without catch block?

800


Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?

859


What is the file type?

811


Explain about version control?

777


Are arrays classes in java?

744


What is boolean query?

752