What is Output?

class Demo{

void foo(Integer i){
int k=i;
System.out.println(k);
}
public static void main(String h[]){
new Demo.foo(100);
}
}

output is :
1. 100
2. compile time error
3. runtime error
4. none

No comments: