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

单项选择题

Which will declare the method that forces a subclass to implement it?()

    A. public double methoda ():
    B. static void methoda(double d1) {}
    C. public native double methoda ():
    D. abstract public foid methoda ():
    E. protected void methoda (double d1) {}

点击查看答案

相关考题

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

    A. The code compiles and “s=” is printed.
    B. The code compiles and “s=” + s);
    C. The code does not compile because Strings is not initialized.
    D. The code does not compile because Strings cannot be referneed.
    E. The code comiles, but a NullPointer Exception is thrown when toString is called.

  • 多项选择题
    Whichthe twoarereservedwordsinJava?()

    A. run
    B. import
    C. default
    D. implement

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

    A. foo has the value of “”
    B. foo hast he falue of null.
    C. foo has the value of “blue”
    D. foo has the value of “green”
    E. An exception is thrown.
    F. The code will not compile.

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

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