摘要: 简介 /* 使用properties集合存储数据,遍历取出properties集合中的数据 properties集合有一些操作字符串的特有方法 Object setProperty(String key, String value) 致电 Hashtable方法 put 。 String getPr 阅读全文
posted @ 2020-06-18 23:20 小丑quan 阅读(459) 评论(0) 推荐(0)
摘要: 以前的异常处理 public class Demo3 { public static void main(String[] args) { //提高fw的作用域 //变量定义的时候可以没有值,但是使用的时候必须有值 FileWriter fw =null;//变量的声明应该放在try的外面因为 // 阅读全文
posted @ 2020-06-18 22:15 小丑quan 阅读(343) 评论(0) 推荐(0)