single dimensional array java