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.app.BitUtils.process(bytes);D.util.BitUtils.process(bytes);E.import util.BitUtils

题目
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.app.BitUtils.process(bytes);

D.util.BitUtils.process(bytes);

E.import util.BitUtils.*; process(bytes);

F.SomeApp cannot use the process method in BitUtils.


相似考题
更多“Given classes defined in two different files:What is required at line 5 in class SomeApp to use the process method of BitUtils?() ”相关问题
  • 第1题:

    Given:When the doSomething method is called, after which line does the Object created in line 5 become available for garbage collection?()

    A.Line 5

    B.Line 6

    C.Line 7

    D.Line 8

    E.Line 9

    F.Line 10


    参考答案:D

  • 第2题:

    Given:WhichchangecanyoumaketoTargetwithoutaffectingClient?()

    A.Line4ofclassTargetcanbechangedtoreturni++;

    B.Line2ofclassTargetcanbechangedtoprivateinti=1;

    C.Line3ofclassTargetcanbechangedtoprivateintaddOne(){

    D.Line2ofclassTargetcanbechangedtoprivateIntegeri=0;


    参考答案:D

  • 第3题:

    在Tomcat中,class文件保存在web-INF/classes目录下。


    正确

  • 第4题:

    Given:WhichlineofcodemarkstheearliestpointthatanobjectreferencedbyintObjbecomesacandidatefor garbagecollection?()

    A.Line16

    B.Line17

    C.Line18

    D.Line19


    参考答案:D

  • 第5题:

    Given:Which code, inserted at line 16, correctly retrieves a local instance of a Point object?()

    A.Point p = Line.getPoint();

    B.Line.Point p = Line.getPoint();

    C.Point p = (new Line()).getPoint();

    D.Line.Point p = (new Line()).getPoint();


    参考答案:D