Re: Vectors vs Arrays
- From: "Oliver Wong" <owong@xxxxxxxxxxxxxx>
- Date: Mon, 09 Jan 2006 17:03:50 GMT
"John Bend" <john.bend@xxxxxxxxxxxxxxxxxx> wrote in message
news:43be6751$1_1@xxxxxxxxxxxxxxxxxxxxxxx
> Hello.
>
> Can anyone please suggest some good tutorial links where Java Vectors and
> Arrays are explained and compared?
>
> I'm a proficient programmer but fairly new to Java. Whilst I understand
> arrays I don't fully understand Vectors and when to use them.
>
> Many thanks.
Some other posters have already given you links, but a one sentence
summary might be that arrays are fixed-length, while Vectors are
variable-lengthed. I'm assuming, by the way, that when you say "Arrays", you
actually mean "arrays", and not, for example, "ArrayList" (the latter also
being variable-length).
- Oliver
.
- References:
- Vectors vs Arrays
- From: John Bend
- Vectors vs Arrays
- Prev by Date: Customize JTextPane
- Next by Date: J2SE Install on Mac OSX?
- Previous by thread: Re: Vectors vs Arrays
- Next by thread: What is the flowchart symbol for 'try' and 'catch'?
- Index(es):
Relevant Pages
|
|