单项选择题

在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)

相关试题
  • 在oneMethod()方法运行正常的情况下,程...
  • 下面程序段的输出结果是( )。class Bas...
  • 下列程序输出结果为( )。public class...
  • 按照Java的标识符命名规则,下列表示一个类...
  • 从数据库的整体结构看,数据库系统采用的数...