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

单项选择题


What is the final value of i?()

    A. 1
    B. 2
    C. 3
    D. 4
    E. 5

点击查看答案

相关考题

  • 问答题
    What is the output?
  • 单项选择题
    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; }

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

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

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

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