摘要: File类:构造方法 * File(String pathname):根据一个路径得到File对象 * File(String parent, String child):根据一个目录和一个子文件/目录得到File对象 * File(File parent, String child):根据一个父F 阅读全文
posted @ 2018-10-28 11:41 fly_bk 阅读(274) 评论(0) 推荐(0)
摘要: 异常:异常就是Java程序在运行过程中出现的错误。异常的分类: 通过API查看Throwable Error * 服务器宕机,数据库崩溃等 Exception 异常的继承体系 Throwable * Error * Exception * RuntimeExceptionJVM默认是如何处理异常的 阅读全文
posted @ 2018-10-28 11:21 fly_bk 阅读(151) 评论(0) 推荐(0)