

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of the following code?
public class output { public void method1 (int i,float f) { System.out.println(" int float method"); } public void method2(float f,int i); { System.out.println("float int method"); } public static void main(String[]args) { output s=new output(); s.method1(10,10); } } |
A. | float int method |
B. | int float method |
C. | Runtime error |
D. | Compiletime error |
E. | None of these |
Answer» E. None of these | |