Can you think of a shortcut to declare, initialize and add values to a in a single step?

int[] a = { 2, 8, 4 };int a = { 2, 8, 4 };a = String("Luke", "Leia");int[] a = new int[10];

Fantastic! We can declare, initalize and add elements to a by assigning values in braces right when we declare it.

So close! We can declare, initalize and add elements to a by assigning values in braces right when we declare it.