标题new String(byte, a, b) String str = new String(b, n, m)的用法,其中b为byte[]数组,n,m为int类型. 从byte数组b下标为n开始,取长度为m个下标长度的字符串赋值给str。 例如: byte[] byte = {'1' ,'2', '3', '4', '5', '6', '7', '8','9'}; String item=new String(b,2,4) //结果 item=3456