摘要:
1. 继承Thread类 public class MyThread extends Thread { @Override public void run() { System.out.println("这是一个新的线程"); } } public class ThreadTest { public 阅读全文
摘要:
一. 基本的异常打印 public class Test { public static void main(String[] args) { fun1();//第4行 } public static void fun1() { fun2();//第8行 } public static void f 阅读全文