itgle.com

A programmer has an algorithm that requires a java.util.List that provides an efficient implementation of add(0, object), but does NOT need to support quick random access. What supports these requirements?()A.java.util.QueueB.java.util.ArrayListC.java.uti

题目

A programmer has an algorithm that requires a java.util.List that provides an efficient implementation of add(0, object), but does NOT need to support quick random access. What supports these requirements?()

A.java.util.Queue

B.java.util.ArrayList

C.java.util.LinearList

D.java.util.LinkedList


相似考题
参考答案和解析
参考答案:D
更多“A programmer has an algorithm that requires a java.util.List that provides an efficient im ”相关问题
  • 第1题:

    The government ____them with accommodation.

    A.offers

    B.gives

    C.provides


    参考答案:C

  • 第2题:

    Whichfouraretrue?()

    A.Has-arelationshipsshouldneverbeencapsulated.

    B.Has-arelationshipsshouldbeimplementedusinginheritance.

    C.Has-arelationshipscanbeimplementedusinginstancevariables.

    D.Is-arelationshipscanbeimplementedusingtheextendskeyword.

    E.Is-arelationshipscanbeimplementedusingtheimplementskeyword.

    F.Anarrayoracollectioncanbeusedtoimplementaone-to-manyhas-arelationship.

    G.TherelationshipbetweenMovieandActressisanexampleofanis-arelationship.


    参考答案:C, D, E, F

  • 第3题:

    Provides 3 properties that make an OS, a RTOS?


    正确答案:
     

  • 第4题:

    YouarewritingaJSPthatincludesscriptletcodetodeclareaListvariableandinitializesthatvariabletoanArrayListobject.WhichtwoJSPcodesnippetscanyouusetoimporttheselisttypes?()

    A.<%!importjava.util.*;%>

    B.<%!importjava.util.List;importjava.util.ArrayList;%>

    C.<%@pageimport=’java.util.List’import=’java.util.ArrayList’%>

    D.<%@importtypes=’java.util.List’types=’java.util.ArrayList’%>

    E.<%@pageimport=’java.util.List,java.util.ArrayList’%>

    F.<%@importtypes=’java.util.List,java.util.ArrayList’%>


    参考答案:C, E

  • 第5题:

    When William hurried home, he found that his mother ____already ____to hospital.

    A、has; been sent

    B、had; sent

    C、has; sent

    D、had; been sent


    正确答案:D

  • 第6题:

    WhenconfiguringdualVIOserverstoconnecttoSANbaseddiskinfailovermode,whatsettingmustbeapplied?()

    A.algorithm=failover

    B.algorithm=round_robin

    C.reserve_policy=no_reserve

    D.reserve_policy=single_path


    参考答案:C