欢迎来到求知题库网 求知题库官网
logo
全部科目 > Java认证考试 > SCDCD(310-081)

问答题

简答题


What is the output?  

    【参考答案】

    ajvajavac

    点击查看答案

    相关考题

    • 单项选择题
      What is the result?()

      A. Compilation succeeds and 1 is printed.
      B. complication succeeds and 2 is printed.
      C. An error at line 8 causes compilation to fail.
      D. An error at line 13 causes complication to fail.
      E. An error at line 14 causes compilation to fail.

    • 多项选择题
      Which two are void examples of method overriding? ()

      A. void setVar(float f) { x = f;}
      B. public void setVar(int f) { x =f;}
      C. public void setVar(float f) {return f;}
      D. public double setVar(float f) {return f;}
      E. protected float setVar() { x = 3.0f; return 3.0f; }

    • 单项选择题
      Which statement at line 7 constructs an instance of the inner class?()

      A. InsideOne ei = eo.new InsideOne():
      B. eo.InsideOne ei= co.new InsideOne():
      C. InsideOne ei = EnclosingOne.new InsideOne():
      D. EnclosingOne.insideOne ei = eo.new InsideOne():

    微信小程序免费搜题
    微信扫一扫,加关注免费搜题

    微信扫一扫,加关注免费搜题

    微信扫一扫,加关注免费搜题

    微信扫一扫,加关注免费搜题