问题 单项选择题

下列程序段: int result; int a=17,b=6; result=(a%b>4)a%b:a/bSystem.out.println(result); 的结果为 ( )

A.0

B.1

C.2

D.5

答案

参考答案:D

选择题
单项选择题