IO编程__文件对象
一、代码如下
package www.tainiu.wenjian; import java.io.File; public class aa__FileDuiXiang { public static void main(String[] args) { // TODO Auto-generated method stub File f= new File("d:\\Test.txt"); System.out.println(f.getAbsolutePath()); System.out.println(f.length()); } }