There are many ways find the location of a value in an array.  The following example snippets all assume that the array is one of the following:
  String[] strings = new String[] { "A", "B", "C" };
  int[] ints = new int[] { 1, 2, 3, 4 };
In addition, each one sets...