1.

What is the output of this program?
public class increment {
public static void main(String args[]) {
int a = 5;
System.out.print(++a * 6);
}
}

A. 36
B. 25
C. 30
D. 40
E. 12
Answer» B. 25


Discussion

No Comment Found

Related MCQs