会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
chenyf
清晨的粥比深夜的酒好喝。
博客园
新随笔
管理
2017年9月27日
通过反射向ArrayList添加元素
摘要: public static void main(String[] args) throws Exception { int a=1,b=2,c=3; //第一种方式 //Class clazz = ArrayList.class; //第二种方式 Class clazz = Class.forNam
阅读全文
posted @ 2017-09-27 11:20 chen_yf
阅读(550)
评论(0)
推荐(0)
编辑