JAVA FAQ
Q: How do I initialize and create a list in java? A source code example would be beneficial.
A: Do you mean an array? Here are some examples from Java's website
int[] factorial = { 1, 1, 2, 6, 24, 120, 720, 5040 }; char ac[] = { 'n', 'o', 't', ' ', 'a', ' ', 'S', 't', 'r', 'i', 'n', 'g' }; String[] aas = { "array", "of", "String", };