Can I have multiple main() methods in the same class?
No, We cann't use multiple main() method within the same class. If we do this then the program fails to compile. The Compiler gives error that the main method is already defined in the class..
For more details related to use of multiple main() method in same class
yes, it is possible with defining the main method with different parameters.