可学答题网 > 问答 > SCJP程序员认证考试题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Which three are valid?


Which three are valid?()

  • Ap0=p1;
  • Bp1=p2,
  • Cp2=p4;
  • Dp2=(ClassC)p1;
  • Ep1=(ClassB)p3;
  • Fp2=(ClassC)p4;
参考答案
参考解析:
分类:SCJP程序员认证考试题库
相关推荐

1、Which three are true?(

Which three are true?()ACat is-a AnimalBCat is-a JumperCDog is-a AnimalDDog is-a JumperECat has-a AnimalFBeagle has-a TailGBeagle has-a Jumper

2、Which two are valid&e

Which two are valid examples of method overriding?()A float getVar() {return x:}B public float...

3、Which three will compi

Which three will compile and rim without exception?()A private synchronized Object o;B void go(...

4、Which three changes sh

Which three changes should be made to adapt this class to be used safely by multiple ...

5、Which three EL expres

Which three EL expressions, inserted at line 16, are valid and evaluate to d? ()A ${m...

6、Which three statements&ensp

Which three statements are true?()ACompilation fails.BThe code compiles and the output is 2.CIf l...