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
第1题:
A.offers
B.gives
C.provides
第2题:
A.Has-arelationshipsshouldneverbeencapsulated.
B.Has-arelationshipsshouldbeimplementedusinginheritance.
C.Has-arelationshipscanbeimplementedusinginstancevariables.
D.Is-arelationshipscanbeimplementedusingtheextendskeyword.
E.Is-arelationshipscanbeimplementedusingtheimplementskeyword.
F.Anarrayoracollectioncanbeusedtoimplementaone-to-manyhas-arelationship.
G.TherelationshipbetweenMovieandActressisanexampleofanis-arelationship.
第3题:
Provides 3 properties that make an OS, a RTOS?
第4题:
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’%>
第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
第6题:
A.algorithm=failover
B.algorithm=round_robin
C.reserve_policy=no_reserve
D.reserve_policy=single_path