Java generate list from 1 to n July 8, 2019 16 32 64 128 Generate random number in java Generic array list