Java Vector<Object>

Discussion in 'Java' started by krytoxin, Jun 22, 2011.

  1. krytoxin


    Jun 22, 2011
    Likes Received:
    I'm working with a code tutorial I found online:
    And in the java code it mentions two lines:
    protected Vector<ChatServerConnection> clientConnections;
    this.clientConnections = new Vector<ChatServerConnection>();

    I am using ECLIPSE IDE and it dosen't like this...
    Vector<Object> thing, is it depreciated or what?

    How else can I write this to make it work properly?
    krytoxin, Jun 22, 2011
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.