Professional Documents
Culture Documents
1 2 3 4 5
A. 01301201 B. 012010
C. 013012 D. 0130120
Page 1 of 2
ANNEXURE-1
Standard Template for Academic Tasks (22231)
5 Consider the following program and identify the output CO 2 L4: Analyze 2
class Demo {
public static void main(String args[]) {
short x=10;
x=x*5;
System.out.print(x);
}
}
A. 50
B. 10
C. 0
D. Compilation error
Page 2 of 2