Exam 16: Generic Collections

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Class Collections provides algorithms for reversing,filling and copying ________.

(Multiple Choice)
4.9/5
(30)

Which statement is false?

(Multiple Choice)
4.9/5
(44)

A(n)__________ allows a program to walk through the collection and remove elements from the collection.

(Multiple Choice)
4.9/5
(47)

The collections framework algorithms are __________,i.e.,each of these algorithms can operate on objects that implement specified interfaces without concern for the underlying implementations.

(Multiple Choice)
4.8/5
(39)

Which statement is false?

(Multiple Choice)
4.8/5
(41)

Method shuffle is a member of __________.

(Multiple Choice)
4.8/5
(33)

Which of the following performs a boxing conversion?

(Multiple Choice)
4.8/5
(40)

PriorityQueue method __________ inserts an element at the appropriate location in the queue.

(Multiple Choice)
4.8/5
(48)

Collections method ___________ returns a Comparator object that orders the collection's elements in reverse order.

(Multiple Choice)
4.7/5
(28)

The classes and interfaces which comprise the collections framework are members of package ________.

(Multiple Choice)
4.8/5
(44)

Which of the following does not implement interface List?

(Multiple Choice)
4.7/5
(36)

Which statement is false?

(Multiple Choice)
4.7/5
(29)

Iterator method __________ determines whether the Collection contains more elements.

(Multiple Choice)
4.9/5
(33)

The collections framework provides various __________ collection interfaces from which the programmer can quickly "flesh out" complete customized implementations.

(Multiple Choice)
5.0/5
(40)

Objects of many classes can now be output and input with Java's object __________.

(Multiple Choice)
4.9/5
(47)

Which statement is false?

(Multiple Choice)
4.9/5
(31)

To find the smallest and largest element of a Collection,use Collections methods _________ and __________.

(Multiple Choice)
5.0/5
(44)

Which statement about hashing is false?

(Multiple Choice)
4.7/5
(39)

Which of the following performs an unboxing conversion? Assume x refers to an Integer object.

(Multiple Choice)
4.7/5
(37)

Which statement is false?

(Multiple Choice)
4.9/5
(36)
Showing 21 - 40 of 41
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)