摘要:
方法名称 方法作用 getName() 文件名称 getPath() 赋值路径(绝对\相对) getAbsolutePath() 绝对路径 package cn.hxh.io.file; import java.io.*; public class Demo02 { public static vo 阅读全文
摘要:
常量名称常量用途 pathSeparator 路径分割符 separator 文件分割符 例: package cn.hxh.io.file; import java.io.File; public class Demo01 { public static void main(String[] ar 阅读全文