Minimum and Maximum Digits in a Number - Java Quiz Question


What will be the output of the following program?


A
Value1 : 8  Value2 : 9
B
Value1 : 1  Value2 : 2
C
Value1 : 0  Value2 : 9
D
Value1 : 9  Value2 : 0
E
Compilation Error or Runtime Error