Results 1 to 3 of 3

Thread: Equivalent of Struct [resolved]

Threaded View

  1. #1

    Thread Starter
    Member filburt1's Avatar
    Join Date
    Aug 1999
    Posts
    6,935

    Equivalent of Struct [resolved]

    This doesn't work:
    Code:
    private class A
    {
        InetAddress i;
    }
    Vector v = new Vector();
    System.out.println(v.elementAt(0).i);
    I'm adding only A's to v, so why can't I do that?
    Last edited by filburt1; Oct 26th, 2001 at 03:00 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
  •  



Click Here to Expand Forum to Full Width