摘要:
在超类Object中关于equals方法的定义 /** * Indicates whether some other object is "equal to" this one. * <p> * The {@code equals} method implements an equivalence 阅读全文
摘要:
1、概述 java.io.File 类是文件和目录路径名的抽象表示,主要用于文件和目录的创建、查找和删除等操作。 2、构造方法 public File(String pathname) :通过将给定的路径名字符串转换为抽象路径名来创建新的 File实例。 public File(String par 阅读全文