Programming - Collection Of Frameworks
You Are Here :: Home > JAVA > Collection Of Frameworks - General Questions
43. |
The TreeSet implementation provides guaranteed __________________ time cost for the basic operations
|
A. |
log(n) |
B.
|
log(n+1) |
C.
|
log(n-1)
|
D.
|
log(1/n)
|
|
Answer: Option A
Explanation:
The TreeSet implementation provides guaranteed log(n) time cost for the basic operations |
|
44. |
Set is the interface of the __________________________ which extends the Collection but forbids duplicates.
|
A. |
Collection of Framework |
B.
|
Java Frames |
C.
|
Java Thread
|
D.
|
Java Classes
|
|
Answer: Option A
Explanation:
Set is the interface of the collections framework which extends the Collection but forbids duplicates. |
|
45. |
You can make the code flexible by using many interfaces and classes of the __________________.
|
A. |
Collection of Framework |
B.
|
Java Frames |
C.
|
Java Thread
|
D.
|
Java Classes
|
|
Answer: Option A
Explanation:
You can make the code flexible by using many interfaces and classes of the collection framework. |
|
46. |
a collection framework is the unified architecture that represent and manipulate collections.
|
A. |
Collection of Framework |
B.
|
Java Frames |
C.
|
Java Thread
|
D.
|
Java Classes
|
|
Answer: Option A
Explanation:
a collection framework is the unified architecture that represent and manipulate collections. |
|
47. |
The _________________ is a set of classes and interfaces that implement commonly reusable collection data structures.
|
A. |
Java Collection Framework |
B.
|
Java Threads |
C.
|
Java Wrapper Classes
|
D.
|
Java Abstract Classes
|
|
Answer: Option B
Explanation:
The Java collections framework (JCF) is a set of classes and interfaces that implement commonly reusable collection data structures. |
|
48. |
__________________ are implemented in the JCF via the java.util.List
|
A. |
List |
B.
|
Set |
C.
|
Map
|
D.
|
Enumeration
|
|
Answer: Option A
Explanation:
Lists are implemented in the JCF via the java.util.List |
|
« prev
next »