Review Questions

   

Java™ 2 Primer Plus
By Steven Haines, Steve Potts

Table of Contents
Chapter 11.  Collection Classes


1:

How does an Array differ from an ArrayList?

2:

What is the difference between an ArrayList and a Vector?

3:

Under what circumstances would you want to use a hash table over a tree to maintain your data?

4:

What is a hash table collision, and how is it resolved?

5:

Why is the search operation on trees fast?

6:

Can a set have duplicate values?

7:

What is the functional difference between the iterated output of a HashMap and a TreeMap?

8:

Describe a stack.

9:

What is the difference between a stack and a queue?

10:

Describe the function of an iterator and the methods it provides.


       
    Top
     



    Java 2 Primer Plus
    Java 2 Primer Plus
    ISBN: 0672324156
    EAN: 2147483647
    Year: 2001
    Pages: 332

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net