单项选择题

在Applet 中画图、画图像、显示字符串用到的方法是( )。

A.paint()
B.init()
C.stop
D.draw()
<上一题 目录 下一题>
热门 试题

单项选择题
下列( )关键字通常用来对对象进行加锁,该标记使得对对象的访问是排他的。
A.transient
B.serialize
C.synchronized
D.static
单项选择题
有一个接口定义如下,下列选项中实现了该接口并且不是抽象的是( )。interface A int method1 (int i); int method2 (int j);
A.class B implements A

int method1()
int method2()

B.class B

int method1(int i)
int method2(int j)

C.class B implements A

int methodl(int i)
int method2(intj)

D.class B extends A

int method1(int i)
int method2(int j)

相关试题
  • 下面ChangeTitle()中对b1和b2按钮构造...
  • 如果子类中的某个方法的名字、返回值类型和...
  • 以下程序段的输出结果为 【14】 。int...
  • 异常分为运行异常、捕获异常、声明异常和 ...
  • 【13】 类是提供线程操作和管理的类。