thank you.
I'm sorry, I want to say array of unknown size.
in C, using malloc, we can assign memoey,
how can we do this in java?
regards
I'm not familiar with C, but as far as I know, C (and C++) are much less strict when it comes to arrays than Java. If you want a Collection, which you can change the size of, use a
Vector. It will automatically adjust it's size to what you enter into it. Otherwise, it's not much different to an array.
Greetings,
Nepomuk