java反射
摘要:1.获取某个类的属性值 public static void main(String[] args) throws Exception { User u = new User(); u.setAddress("Beijing"); Class<?> c = u.getClass(); Method
阅读全文
posted @
2018-08-31 15:10
美丽的小鹿
阅读(194)
推荐(0)
java集合
摘要:一、JAVA集合主要分为三种类型: Set(集) 、List(列表)、Map(映射) 其中Set 和List 都继承了Conllection,Map没有 Collection├List│├LinkedList│├ArrayList│└Vector│ └Stack└Set(hashset、Linked
阅读全文
posted @
2018-08-31 13:52
美丽的小鹿
阅读(196)
推荐(0)