A
Q. What will be the output for the below code?
public class Test{
int i=8;
int j=9;
public static void main(String[] args){
add();
}
public static void add(){
int k = i+j;
System.out.println(k);
}
}
- Correct Answer - Option(D)
- Views: 15
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.