Hi,
what would be the output for the below code
class Best{
public void method(float f) {
System.out.println("float");
}
public void method(double f) {
System.out.println("double");
}
public void method(long f) {
System.out.println("long");
}}
public class
Test extends Best{
public void method(int i) {
System.out.println("Inside class Test");
}
public static void main(
String xyz[]) { Best q4 = new Test();
q4.method(10);
}}