- 
                    if there are more than one main method in a program, then which main method will be called.what will be the output class A { public static void main(String args[]) { System.out.println("Hi friend"); } } class Test { public static void main(String args[]) { System.out.println(" How are you"); } } 
- 
                    java.lang.object class methodsList out the five common methods in java.lang.object class? 
- 
                    Output of Java ProgramWhat is the output of the following program?class A{ public static void main(String[] s) { System.out.println(s[1] + s[2] + s[3]);}}java A 12345Options(i) 1(ii) 12(iii)1234(iv)234(v) Compilation Error 
- 
                    

 
  
  
  Read Best Answer
 
                        Read Best Answer