奥鹏西安交通大学考前练兵 Java语言.docVIP

  • 5
  • 0
  • 约2.24万字
  • 约 51页
  • 2021-02-20 发布于河北
  • 举报
单选题 1. 运行下列程序, 会产生什么结果   public class X extends Thread implements Runable{   public void run(){    System.out.println(this is run());   }   public static void main(String args[])   {    Thread t=new Thread(new X());    t.start();    } A.第一行会产生编译错误 B.第六行会产生编译错误 C.第六行会产生运行错误 D.程序会运行和启动 答案: A

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档