Results 1 to 2 of 2
  1. #1
    mew
    mew is offline Member
    Join Date
    Nov 2007
    Posts
    70
    Rep Power
    0

    Default Declaring Vector

    Java Code:
    List vector1 = new Vector();
    Vector vector2 = new Vector();
    What the difference between vector1 and vector2. Do both have same methods available?? Whats the real difference.

    Please write on this.

  2. #2
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    9

    Default

    See paragraph 5 after the table under the header "General-purpose Implementations" on Lesson: Implementations in Trail: Collections.

Similar Threads

  1. Declaring a Queue
    By rhm54 in forum New To Java
    Replies: 1
    Last Post: 03-21-2008, 06:02 AM
  2. Declaring an ArrayList
    By bugger in forum New To Java
    Replies: 3
    Last Post: 01-31-2008, 08:36 PM
  3. Declaring global variables
    By eva in forum New To Java
    Replies: 3
    Last Post: 12-23-2007, 01:11 AM
  4. Declaring Interface
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-08-2007, 09:41 AM
  5. Declaring Enumeration
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-04-2007, 06:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •