摘要:
方法名称 方法作用 getName() 文件名称 getPath() 赋值路径(绝对\相对) getAbsolutePath() 绝对路径 package cn.hxh.io.file; import java.io.*; public class Demo02 { public static vo 阅读全文
posted @ 2020-01-25 22:04
shimeath
阅读(165)
评论(0)
推荐(0)
摘要:
常量名称常量用途 pathSeparator 路径分割符 separator 文件分割符 例: package cn.hxh.io.file; import java.io.File; public class Demo01 { public static void main(String[] ar 阅读全文
posted @ 2020-01-25 21:45
shimeath
阅读(102)
评论(0)
推荐(0)

浙公网安备 33010602011771号