String str = "ABC";
String tem = "";
char[] c = str.toCharArray();
for(int i=0; i<c.length; i++){
tem = tem + Integer.toBinaryString(c[i])+ " ";
}
System.out.println("二進制===>>"+tem);
for (String s: tem.split(" ") ) {
BigInteger big = new BigInteger(s, 2);
int x = big.intValue();
System.out.println("二進制===>>"+s + ", valueOf()==>>"+String.valueOf(((char)x)));
}