public class List { public static void main(String[] a) { // name is a variable of type 'String' String name = new String(); name = "chris"; // names is a variable of type 'array of Strings' // it is defined to keep space for up to 10 Strings // that are numbered 0...9 String[] names = new String[10]; // you can assign, use, etc array variables the same way // you use any other variable, just use [] brackets! names[0] = "Shogofa"; names[1] = "Foruzan"; names[2] = "Latifa"; System.out.println(name); System.out.println(names[2]); } }