为什Java中不能通过java.lang.Thread类来直接创建类Thread的一个对象来创建线程??
类Thread
public class Thread extends Object implements Runnable
public Thread()public Thread(Runnable target)public Thread(Runnable target,String name)public Thread(String name)
Thread thread = new Thread();
/** * If this thread was constructed using a separate * <code>Runnable</code> run object, then that * <code>Runnable</code> object's <code>run</code> method is called; * otherwise, this method does nothing and returns. * <p> * Subclasses of <code>Thread</code> should override this method. * * @see #start() * @see #stop() * @see #Thread(ThreadGroup, Runnable, String) */ public void run() { if (target != null) { target.run(); } }