Hot answers tagged

2 votes

Is there an array-like data type in Java that can cope with generic types better than the built-in array?

You probably want an ArrayList. They can be resized, however. Python has a similar thing. You should become familiar with the oracle docs of which the above link is a part. They are quite informative. ...
Buffy's user avatar
  • 36k

Only top scored, non community-wiki answers of a minimum length are eligible