12345678910



Question 1: What will be the output of the following program?
1. public class Test3 {
2. public static void main(String[] args) {
3. System.out.println("Main Method1");
4. main("think");
5. }
6. public static void main(String args){
7. System.out.println("Main Method2");
8. }
9. }

1. Runtime Exception
2. Main Method1
Main Method2
3. Main Method2
4. Main Method1