以下代码段执行后的输出结果为()intx=3;inty=10;System.out.println(y%x);
A:0
B:1
C:2
D:3
出自:国家开放大学《面向对象程序设计》