填空题

在面向对象方法中,类的实例称为()。

【参考答案】

对象
<上一题 目录 下一题>
热门 试题

填空题
某二叉树中度为2的结点有18个,则该二叉树中有()个叶子结点。
单项选择题
下列程序的功能是在监控台上每隔一秒钟显示一个字符串“Hello!”,能够填写在程序中下划线位置,使程序完整并能正确运行的语句是() public class Test implements Runnable{ public static void main(String args[]){ Test t=new Test(); Thread tt=new Thread(t); tt.start(); } public void run(){ for(;;){ try{ ; }catch( e){} System.out.println( Hello ); } } }

A.sleep(1000)
B.sleep(1000)InteruptedException InterruptedException
C.Threasleep(1000)
D.Threasleep(1000)RuntimeException InterruptedException

相关试题
  • 当使用Thread t=new Thread(r)创建一...
  • FileInputStream是字节流,BufferedWriter...
  • 请阅读下列程序代码,然后将程序的执行结果...
  • break语句最常见的用法是在switch语句中,...
  • StringBuffer类提供()字符串对象的表示。