数据转为特定格式的字符串 主要可以通过几种类 String类中valueOf方法数据本身提供的toString方法 如Integer.toBinaryString()将int转换为二进制字符串 Arrays.toString()将数组转变为字符串String.format创建格式化字符串