Java
phoenix13suns
这个作者很懒,什么都没留下…
展开
-
文件输出 换行
java中写.txt文件,实现换行的几种方法: 1.使用java中的转义符"/r/n": String str="aaa"; str+="/r/n"; 这样在str后面就有换行了. 注意:/r,/n的顺序是不能够对换的,否则不能实现换行的效果. 2.BufferedWriter的newline()方法: FileOutputStr转载 2011-06-12 18:08:00 · 585 阅读 · 0 评论 -
unhandled exception filenotfoundexception 文件输出
如果不写try catch就会出现unhandled exception filenotfoundexception这个错误import java.io.FileOutputStream;public class test{ public static void main(String args[ ]) { String s="123456";原创 2011-06-12 17:15:00 · 3759 阅读 · 0 评论 -
Eclipse中如何快速添加、删除jar包
http://blog.csdn.net/huzhyi21/article/details/4543944转载 2011-07-15 17:28:52 · 3261 阅读 · 0 评论