Whatletter symbol is used in a thread note to denote an external thread? Aninternal thread?
举一反三
- class X implements Runnable{public static void main(String args[]){/* Missing code? */}public void run() {}}哪一行代码适合启动线程? A: Thread t = new Thread(X); B: Thread t = new Thread(X);t.start(); C: X run = new X();Thread t = new Thread(run);t.start(); D: Thread t = new Thread();x.run();
- What is the function of yarn pasting? A: make the thread more twisty B: make the thread more smooth C: make it easier to dye the thread D: improve the toughness of the thread
- 对于下面语句Thread thrObj=new Thread();的说法,不正确的是()
- Thread的运行是独立于Activity的,也就是说当一个Activity被finish之后,如果你没有主动停止Thread或者Thread里的run方法没有执行完毕的话,Thread也会一直执行。
- Thread类位于 包下