单项选择题

下面程序片段的执行中,说法正确的是( )。 public class Test { public static void main (String args[]) { byte y=20; int i=y; int x=100; y=x; System.out.println(y); } }

A.输出y的值为100
B.第4行错误
C.输出y的值为20
D.第6行错误