/*8种基本数据类型*/ byte a = 'b'; char b = 'b'; short c = 32767; int d = 2147483647; long e = 9223372036854775807L; float f = 3; double g = 0.3; boolean h = true;
/*基本类型转换为包装类型*/ Byte z = a; Character y = b; Short x = c; Integer w = d; Long v = e; Float u = f; Double t = g; Boolean s = h;
/*包装类型转换为基本类型*/ byte i = z; char j = y; short k = x; int l = w; long m = v; float n = u; double o = t; boolean p = s;