Previous Section   Next Section

Workshop

The Workshop provides quiz questions to help solidify your understanding of what was covered in this hour. Answers are provided in Appendix A, "Quiz Answers."

Quiz

1:

Why would you want to choose an Array object over an ArrayList object? Why would you choose an ArrayList object over an Array object?

2:

The Array class internally allocates contiguous blocks of memory. Does the stack and queue do the same? Why or why not?

3:

What happens when you add a hash table element that has the same key to an element already in the hash table?


  Previous Section   Next Section
Top