解决方案 »
- 有了foreach还需要Iteraotr吗?
- 如何让eclipse不自动生成Auto-generated method stub
- 怎么将十六进制字符串:0020000000c00012 转换成:0x00 0x20 0x00 0x00 0x00 0xc0 0x00 0x12 .
- 请问学习java线程有什么用啊,实际开发什么内容时会用到,还有很多人开发说jbuilder不好,吃内存,那么用eclipes,jcreate写按钮什么的还
- 如何在一个树的子节点中插入一个节点
- 请帮我解释这段程序!
- 用Visual Age for Java的多还是JBuilder的多?
- 各位大侠,小弟问一下JBuilder6的问题
- 请问,如何在利用JAVA找到某一个文件(只知道文件名)的绝对路径?
- 两个项目依赖同一个jar包不同版本怎么整合
- hsdis-i386.dll反汇编Java的class文件出错
- 关于java的原子操作
* Sets the file-pointer offset, measured from the beginning of this
* file, at which the next read or write occurs. The offset may be
* set beyond the end of the file. Setting the offset beyond the end
* of the file does not change the file length. The file length will
* change only by writing after the offset has been set beyond the end
* of the file.
*
* @param pos the offset position, measured in bytes from the
* beginning of the file, at which to set the file
* pointer.
* @exception IOException if <code>pos</code> is less than
* <code>0</code> or if an I/O error occurs.
*/
frw.seek(0); //文件指针定位到文件开头
frw.seek(fp);//文件指针定位到fp处
这两条语句,frw.seek(0)能否去掉。