欢迎来到易学考试网 易学考试官网
全部科目 > Java认证考试 > SCDCD(310-081)

多项选择题


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():

  • 多项选择题
    WhichtwoarecharacteristicsoftheInterceptingFilterpattern?()

    A. it provides centralized request handling for incoming requests.
    B. It forces resource authentication to be distributed across web components.
    C. It reduces coupling between presentation-tier clients and underlying business services.
    D. It can be added and removed unobtrusively, without requiring changes to existing  code.
    E. It allows preprocessing and postprocessing on the incoming requests and outgoing  responses.

  • 单项选择题
    AdeveloperwantstoouseELtoinvokeafunctionusingS{my:bloof(“foof”)}.Whichisalwaystrue?()

    A. The method invoked by this function must be statie.
    B. The function class must implement the Function interface.
    C. The expression is NOT a valid EL expression for invoking a function.
    D. The function must be declared in a web.xml file using the  element.
    E. The function class must have a method with the signature:Void bloof (java.lang.Strings)

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

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