摘要:
package com.itheima.test01;/* * byte short int long float double 是有符号位的数 * char boolean 是无符号位的数 * 补码 反码 原码 * 存储:补码 * 正数的原码 反码 补码是一个 * * -1 * 原码 100000 阅读全文
摘要:
数组只能存错一种相同的数据类型,集合只能存储引用数据类型(用泛型),集合的底层就是一个可变的数组。 数组的冒泡排序: public static void arrayMaxPaiXu(int[] arr) { int temp; //定义的元素调换时的中间变量 int x = arr.length 阅读全文