Java整数运算
摘要:
Java虚拟机提供几种进行整数算术运算的操作码,他们执行基于int和long类型的运算。当byte、short和char类型值参与算术运算时,首先会将它们转换为int类型。这些操作码都不会抛出异常,溢出在这里通常可以被忽略。 整数加法 操作... 阅读全文
posted @ 2011-04-03 19:23 chenqiangjsj 阅读(1548) 评论(0) 推荐(0) 编辑
posted @ 2011-04-03 19:23 chenqiangjsj 阅读(1548) 评论(0) 推荐(0) 编辑
posted @ 2011-04-03 15:49 chenqiangjsj 阅读(1529) 评论(0) 推荐(1) 编辑
posted @ 2011-04-03 15:10 chenqiangjsj 阅读(5674) 评论(0) 推荐(0) 编辑
posted @ 2011-04-03 10:23 chenqiangjsj 阅读(5904) 评论(0) 推荐(1) 编辑