摘要: 1.字符串有整型的相互转换Stringa=String.valueOf(2);//integertonumericstringinti=Integer.parseInt(a);//numericstringtoanint2.向文件末尾添加内容BufferedWriterout=null;try{out=newBufferedWriter(newFileWriter(”filename”,true));out.write(”aString”);}catch(IOExceptione){//errorprocessingcode}finally{if(out!=null){out.close(); 阅读全文
posted @ 2013-12-05 16:42 正宗老菜鸟 阅读(262) 评论(0) 推荐(0) 编辑