填空题

在面向对象方法中,允许作用于某个对象上的操作称为______。

【参考答案】

方法
<上一题 目录 下一题>
热门 试题

填空题
在一个容量为25的循环队列中,若头指针front=16,尾指针rear=9,则该循环队列中共有______个元素。
单项选择题
下面程序段的输出结果是 class Test public static void main(String args[]) MyThread t=new MyThread(); t.displayOutput( t has been createD) ); t.start(); class MyThread extends Thread public void displayOutput(String s) System.out.println(s); public void run() displayOutput( t is running. );
A.t has been created.
B.t has been created.
t is running.
C.t is running.
D.编译出错
相关试题
  • 请阅读下列程序代码,然后将程序的执行结果...
  • 请将程序补充完整。 import java.awt....
  • 包含Swing构件的Applet(小应用程序)应该...
  • 要使处于不同层次,甚至是互不相关的类可以...
  • Java运行时系统通过______周期性地释...