Hello everyone.
I\'m making a vocabulary App, in which I need to create a
List
(or ArrayList). To do so, I\'ve created the following piece
You're probably looking at its internal array with the debugger. That doesn't matter; it's just an implementation detail.
What matters is what's visible through its public API. In other words, what calls to size()
(and so on) tell you. (And if that doesn't return 1
in your code example, then something weird is going on!)