摘要:
位运算操作符>> 算数右移动>exmp 1 int a1 = 12 >>1;变量a取值为6exmp 2int a2 = 12>>2//-3舍弃二进制数的最后两位 在二进制数的开头增加两位符号位.-12是负数故增加两位符号位为11正12-->负120000 1100取反1111 0011加11111 ... 阅读全文
posted @ 2014-03-09 23:19
viviVIVIviviViVi
阅读(169)
评论(0)
推荐(0)
摘要:
练习1:将源文件内容拷贝到目标文件./src/txt/2.txt >public class UseBuffer { public static void main(String[] args) throws IOException{ final int SIZE = 1024; File fileIn = new File ("./src/txt/","1.txt"); FileInputStream in = ... 阅读全文
posted @ 2014-03-09 12:58
viviVIVIviviViVi
阅读(505)
评论(0)
推荐(0)

浙公网安备 33010602011771号