Kizspy | Question: 18
(Choose 1 answer)
What is the output of the following code snippet?
public class Main {
public int a;public long b;
public void test(long b) {
System.out.println("long b");}
public void test(int a) {
System.out.println("int a");}
public static void main(String[] args) { Main e=new Main();
}
e.test(9*1000000000);
}
A. int a
B. long a
C. long b
D. Runtime error