For this Question: An array of 5 string is given where each string contains 2 characters, Now you have to sort these strings, like in a dictionary.Input contains 5 strings of length 2 separated by spaces.
String contains only uppercase English letters.Print the sorted array.INPUT : 
AS KF ER DD JK

OUTPUT : 
AS DD ER JK KF, I have written this Solution Code: import java.io.*;
import java.util.*;



class Main {
  static void printArray(String str[])
    {
        for (String string : str)
            System.out.print(string + " ");
    }

	public static void main (String[] args) throws IOException {

      BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
      int len = 5;
      String[] str = new String[len];
      str = br.readLine().split(" ");




      Arrays.sort(str, String.CASE_INSENSITIVE_ORDER);
      printArray(str);
	}
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?