package WTF;
public class Jill {
public class ArmyRunnable implements Runnable{
ArmyRunnable armyTaskOfSuiDynasty=new ArmyRunnable();
ArmyRunnable armyTaskOfarmyOfRevolt=new ArmyRunnable();
//使用Runnable 接口创建线程
Thread armyOfSuiDynasty =new Thread(armyTaskOfSuiDynasty,"隋唐");
Thread armyOfRevolt =new Thread(armyTaskOfarmyOfRevolt,"农民军");
@Override
public void run() {
// TODO Auto-generated method stub
}
public class Stage extends Thread{
}
}
}
错误: 找不到或无法加载主类 gao.lk
public class ArmyRunnable implements Runnable 放在外面 把
public class Jill {
删掉