单项选择题

下列程序创建了一个线程并运行,横线处应填入的正确代码是______。 public class Try extends Thread{ public static void main(String args[]){ Thread t=flew Try(); ______; } public void run(){ System. out. println("Try!"); } }

A.t. start
B.t. class
C.t. thread
D.t. static
题目列表

你可能感兴趣的试题

微信扫码免费搜题