//前8位字符 char c = str.charAt(0); int begin = (c >>> 8); System.out.println(begin); //后8位字符 c = str.charAt(0); int end = (c & 0xFF); System.out.println(end);
62,628
社区成员
307,259
社区内容
加载中
试试用AI创作助手写篇文章吧