in java dynamic array are known as