摘要:
//第一种 Threadpublic static void main(String[] args) { Thread thread = new Thread() { @Override public void run() { log.info("具体业务逻辑"); } }; thread.setN 阅读全文
posted @ 2022-04-17 22:31
黑狗已醒
阅读(126)
评论(0)
推荐(0)
摘要:
public static void main(String[] args) throws Exception { //第一种 //这里需要做异常处理,或的加载类的类对象类。 Class<?> forName = Class.forName("com.xb.test.Student"); //通过类 阅读全文
posted @ 2022-04-17 21:57
黑狗已醒
阅读(331)
评论(0)
推荐(0)