请阅读下列的程序,程序的运行结果是 public class Example01 { public static void main(String[] args) { int num = 127; byte b = num; System.out.println(b); } }

A.编译报错 B.编译通过,执行输出127 C.编译通过,执行报错 D.以上选项均不正确

时间:2024-05-04 16:56:08

相似题目