欢迎来到在线考试题库网 在线考试题库官网
logo
全部科目 > Java认证考试 > SCJP程序员认证考试

单项选择题

Given classes defined in two different files:

What is required at line 5 in class SomeApp to use the process method of BitUtils?()

    A.process(bytes);
    B.BitUtils.process(bytes);
    C.util.BitUtils.process(bytes);
    D.SomeApp cannot use methods in BitUtils.
    E.import util.BitUtils.*; process(bytes);

点击查看答案

相关考题

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

    A.Compilation of class A fails.
    B.Line 28 prints the value 3 to System.out.
    C.Line 28 prints the value 1 to System.out.
    D.A runtime error occurs when line 25 executes.
    E.Compilation fails because of an error on line 28.

  • 单项选择题
    Which code, inserted at line 15, creates an instance of the Point class defined in Line?()

    A.Point p = new Point();
    B.Line.Point p = new Line.Point();
    C.The Point class cannot be instatiated at line 15.
    D.Line l = new Line(); l.Point p = new l.Point();

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

    A.Mr. John Doe
    B.An exception is thrown at runtime.
    C.Compilation fails because of an error in line 12.
    D.Compilation fails because of an error in line 15.
    E.Compilation fails because of an error in line 20.

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

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