Typically dynamic arrays are not used in
Java because ]
the standard API provides the
Collections Framework, which provides many dynamically sized data structures. This leads me to suspect that you are doing something for a homework assignment. So what exactly are you trying to accomplish and how do dynamic arrays fit into the picture? If you can ask a more specific question, I can probably give a more specific answer. See
this page in our FAQ for some tips on what details to include when you ask a question.
Layne