Is it possible in Java to override a toString for an Objects array?
For example, let\'s say I created a simple class, User (it doesn\'t really matter wh
User
You can create a separate class containing the array, and override toString().
toString()
I think the simplest solution is to extend the ArrayList class, and just override toString() (for example, UserArrayList).
ArrayList
UserArrayList