能正确运行的: CD
复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26A public static void main(String args[]) { byte a = 3; byte b = 2; b = a + b; System.out.println(b); }B public static void main(String args[]) { byte a = 127; byte b = 126; b = a + b; System.out.println(b); }C public static void main(String args[]) { byte a = 3; byte b = 2; a+=b; System.out.println(b); }D public static void main(String args[]) { byte a = 127; byte b = 127; a+=b; System.out.println(b); }
byte运算只能使用 += -= *= /=
最后
以上就是个性老鼠最近收集整理的关于【给自己一些时间】byte运算问题的全部内容,更多相关【给自己一些时间】byte运算问题内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复