Merge and Compare two Arrays using JAVA

The Java code is here to merge and compare. 
  1. import java.util.ArrayList;  
  2. import java.util.Arrays;  
  3. import java.util.List;  
  4. import java.io.*;  
  5. public class MergeCompare {  
  6.     public static void main(String args[]) throws Exception {  
  7.         BufferedReader br = new BufferedReader(new InputStreamReader(System. in ));  
  8.         System.out.println("1-Want to merge two arrays..?");  
  9.         System.out.println("2-Want to compare two arrays..?");  
  10.         System.out.println();  
  11.         System.out.print("Select any option: ");  
  12.         int select = Integer.parseInt(br.readLine());  
  13.         switch (select) {  
  14.             case 1:  
  15.                 String a[] = {  
  16.                     "S""U""N"  
  17.                 };  
  18.                 String b[] = {  
  19.                     "D""A""Y"  
  20.                 };  
  21.                 List list = new ArrayList(Arrays.asList(a));  
  22.                 list.addAll(Arrays.asList(b));  
  23.                 Object[] c = list.toArray();  
  24.                 System.out.println(Arrays.toString(c));  
  25.                 break;  
  26.             case 2:  
  27.                 int[] arr1 = {  
  28.                     1234566  
  29.                 };  
  30.                 int[] arr2 = {  
  31.                     1234566  
  32.                 };  
  33.                 int[] arr3 = {  
  34.                     123  
  35.                 };  
  36.                 System.out.println("Is array 1 equal to array 2?? " + Arrays.equals(arr1, arr3));  
  37.                 System.out.println("Is array 1 equal to array 3?? " + Arrays.equals(arr1, arr2));  
  38.                 break;  
  39.         }  
  40.     }  
  41. }  
Thank you, keep learning and sharing.