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.util.LinearListD.java.util.LinkedList
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
相关考题:
He () some difficulty () the book into Japanese. A、is, to translateB、has, to translateC、is, in translatingD、has, in translating
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’%
Whichfouraretrue?() A.Has-arelationshipsshouldneverbeencapsulated.B.Has-arelationshipsshouldbeimplementedusinginheritance.C.Has-arelationshipscanbeimplementedusinginstancevariables.D.Is-arelationshipscanbeimplementedusingtheextendskeyword.E.Is-arelationshipscanbeimplementedusingtheimplementskeyword.F.Anarrayoracollectioncanbeusedtoimplementaone-to-manyhas-arelationship.G.TherelationshipbetweenMovieandActressisanexampleofanis-arelationship.
When William hurried home, he found that his mother ____already ____to hospital.A、has; been sentB、had; sentC、has; sentD、had; been sent
WhenconfiguringdualVIOserverstoconnecttoSANbaseddiskinfailovermode,whatsettingmustbeapplied?() A.algorithm=failoverB.algorithm=round_robinC.reserve_policy=no_reserveD.reserve_policy=single_path