intx=234; x=y;// y can implicitly convert to x y=x;// error, x cant implicitly convert to y 总之,条件运算符的结果类型希望是int,并且您要从方法中返回byte。 计算机说不...至少您需要在某个地方投射