首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

第五十八道Java小疑点

2012-12-27 
第五十八道Java小问题public class Test {public static void main(String[] args) {char c (char) -1c

第五十八道Java小问题

public class Test {public static void main(String[] args) {char c = (char) -1;c >>= 3;short s = (short) -1;s >>= 3;System.out.println(c == s);}}

?

请问以上程序的输出是:

热点排行