Search:

Type: Posts; User: javapenguin

Search: Search took 0.09 seconds.

  1. Replies
    7
    Views
    1,518

    Re: need your help -- Instances

    Actually, Vectors and other Collections can store any type of Object, not primitives though.
  2. Replies
    7
    Views
    1,518

    Re: need your help -- Instances

    Also, your Vector should have the data type it stores in <> after the word Vector.

    And it needs the wrapper class, Float, Integer, String, Character, Boolean, Long, Short, Double, etc. Not...
  3. Replies
    7
    Views
    1,518

    Re: need your help -- Instances

    If you call the Vector's add() function, it should store it. Not sure if yours is right now.

    Edit: No, it appears that it won't. You aren't storing anything.

    Vectors are expandable.
Results 1 to 3 of 3