class MyThread extends Thread {
  public void run() {
    methodA();
  }
}
public class Ex {
  public static void main(String[] args) {
    MyThread mt = new MyThread();
    mt.start();
  }
}
閉じる

Copyright FUJITSU