-
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 methods
List out the five common methods in java.lang.object class?