Assignments usually means time-pressure. Taking that into account, here is the answer:


int[] a = {10, 20, 30, 40, 50, 60, 70, 80, 90, 100};

That makes an array of ten int-numbers. 10 to 100....