如果想要实现byte[]类型转换为String类型,应该这样子:

    1. public void testReduce() {<br /> String byte_str = "123";<br /> byte[] test = byte_str.getBytes();<br /> String test_str = new String(test);<br /> System.out.println(test_str);<br /> }