You will have to maintain 3 variables in which you keep the number of things actually stored in each array. This is one of the many reasons why people tend to use ArrayLists rather than naked arays.
Reputation Points: 1910
Solved Threads: 951
Posting Expert
Offline 5,768 posts
since Apr 2008