摘要:
import java.lang.reflect.Array; public class ChangeArrayDemo { public static void main(String[] args) { int temp[] = { 1, 2, 3 }; int newTemp[] = (int[]) arrayInc(temp, 5)... 阅读全文
posted @ 2014-09-04 17:55
塔斯曼
阅读(223)
评论(0)
推荐(0)
摘要:
import java.lang.reflect.Array; public class ClassArrayDemo { public static void main(String[] args) { int temp[] = { 1, 2, 3 }; Class c = temp.getClass().getComponentType... 阅读全文
posted @ 2014-09-04 17:19
塔斯曼
阅读(245)
评论(0)
推荐(0)
摘要:
import java.lang.reflect.Field; public class InvokeFieldDemo { public static void main(String[] args) throws Exception { Class cl = null; Object obj = null; cl ... 阅读全文
posted @ 2014-09-04 15:23
塔斯曼
阅读(141)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2014-09-04 14:52
塔斯曼
阅读(156)
评论(0)
推荐(0)