What is the effect of attempting to compile and run the Java program that consists only of the following:
public class Test
   public static void main(String[] args)
   {  String s = "abcdefghijklmnopqrstuvwxyz";
      for (int i = 0; i <= s.length(); i++)
      {  System.out.print(s.substring(i, i + 1));
(a) The program displays the 26 letters of the alphabet.
(b) It displays the first 25 letters of the alphabet.
(c) Having displayed the 26 letters of the alphabet, it gives a run-time error when it tries to display a 27th letter.
(d) It doesn't compile.

Select the most appropriate answer.