摘要: package edu.wtbu;import java.lang.reflect.Method;import java.lang.reflect.ParameterizedType;import java.lang.reflect.Type;import java.util.List;import 阅读全文
posted @ 2023-03-26 15:46 惊鸿宴远赴人间 阅读(23) 评论(0) 推荐(0)
摘要: package edu.wtbu;import java.lang.reflect.InvocationTargetException;import java.lang.reflect.Method;//分析性能问题public class Demo01 { public static void m 阅读全文
posted @ 2023-03-26 14:44 惊鸿宴远赴人间 阅读(17) 评论(0) 推荐(0)
摘要: package edu.wtbu;import java.lang.reflect.Constructor;import java.lang.reflect.Field;import java.lang.reflect.InvocationTargetException;import java.la 阅读全文
posted @ 2023-03-26 14:33 惊鸿宴远赴人间 阅读(15) 评论(0) 推荐(0)
摘要: package edu.wtbu;import java.lang.reflect.Constructor;import java.lang.reflect.Field;import java.lang.reflect.Method;public class Demo01 { public stat 阅读全文
posted @ 2023-03-26 13:58 惊鸿宴远赴人间 阅读(17) 评论(0) 推荐(0)
摘要: package edu.wtbu;public class Demo01 { public static void main(String[] args) throws ClassNotFoundException { //获取系统类加载器 ClassLoader systemClassLoader 阅读全文
posted @ 2023-03-26 12:54 惊鸿宴远赴人间 阅读(35) 评论(0) 推荐(0)
摘要: package edu.wtbu;public class Demo01 { static { System.out.println("Main类被加载"); } public static void main(String[] args) throws ClassNotFoundException 阅读全文
posted @ 2023-03-26 12:33 惊鸿宴远赴人间 阅读(22) 评论(0) 推荐(0)
摘要: package edu.wtbu;public class Demo01 { public static void main(String[] args) { A a = new A(); System.out.println(A.m); /* 1.加载到内存,会产生一个对应的Class对象 2.链 阅读全文
posted @ 2023-03-26 12:14 惊鸿宴远赴人间 阅读(13) 评论(0) 推荐(0)