| No. | Answer | Remark | |
|---|---|---|---|
| 1 | f g h | 6 7 8 | The compiler will implicitly do a narrowing conversion for an assignment statement if the right hand operand is a compile time constant of type byte, short, char, or int and the value falls within the range of the variable on the left and if the variable is of type byte, short, or char. |
| 2 | b c f | 2 3 6 | The maximum value of type byte is 127. The minimum value of type short is -32768. The maximum value of type char is 65535. |
| 3 | a d e | 1 4 5 | The minimum value of type byte is -128. The maximum value of type short is 32767. The minimum value of type char is 0. |