I need to create an array with an undefined size, which will contain user information.
For example:
user[0]["name"] = "Patrick";
However, the standard java array seems to require a known length, which I don't know.
What alternative can i use? (I'll gladly see some coding examples as well) I'm using a TCP framework (kryonet) which doesn't allow to pass objects with constructors. Therefore, as far as i can see, making a User object is not possible.