Exam 16: Collections and Iterators

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

Write a Java statement that changes the value of element 27 to 5.0 in the resulting vector in number 3 above.

(Short Answer)
4.7/5
(46)

Write a Java statement to recover the unused memory in the resulting vector in number 4 above.

(Short Answer)
4.8/5
(34)

Write a Java statement to create a vector with initial capacity of 50.

(Short Answer)
4.8/5
(36)

To use Java's Vector class,you must import the ___________ package.

(Multiple Choice)
4.8/5
(35)
Showing 41 - 44 of 44
close modal

Filters

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