可学答题网 > 问答 > OCJP(310-065)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Given: Which two classes&e


Given: Which two classes use the Shape class correctly?()

  • Apublic class Circle implements Shape {private int radius;}
  • Bpublic abstract class Circle extends Shape {private int radius;}
  • Cpublic class Circle extends Shape {private int radius;public void draw();}
  • Dpublic abstract class Circle implements Shape { private int radius;public void draw();}
  • Epublic class Circle extends Shape {private int radius;public void draw() {/* code here*/}}
参考答案
参考解析:
分类:OCJP(310-065)题库
相关推荐

1、Given: Which two statement

Given:Which two statements are true about the result if the default locale is Locale.US?()AThe&e...

2、Given: Which two, placed&e

Given:Which two, placed on line 13, will produce the output gobstopper?()ASystem.load("prop.custom");BSyst...

3、Given: Which two, independ

Given:Which two, independently, will allow Sub to compile?()AChange line 2 to:public int a;BChang...

4、Given: Which two, inserted

Given:Which&ensp;two,&ensp;inserted&ensp;at&ensp;line&ensp;11,&ensp;will&ensp;allow&ensp;the&ensp;code&ensp;to&ensp;compile?()Apublic&ensp;class&ensp;MinMax<...

5、Given a Filter class&e

Given&ensp;a&ensp;Filter&ensp;class&ensp;definition&ensp;with&ensp;this&ensp;method:21.public&ensp;void&ensp;doFilter(ServletRequest&ensp;request,22.ServletRespon...

6、Given: Which two code&ensp

Given:Which&ensp;two&ensp;code&ensp;fragments,&ensp;inserted&ensp;independently&ensp;at&ensp;line&ensp;3,&ensp;generate&ensp;the&ensp;output&ensp;4247?&ensp;()...