(・3・)エェー よくわからんけどこんな感じですKA?

class test
{
  public static void main(String[] args)
  {
    String[][] selectStr = {
      {"FIFO", "LIFO", "LILO", "LRU"},
      {"DRAM", "RDRAM", "SDRAM", "SRAM"},
    };
    
    for(int i = 0; i < selectStr.length; i++)
      shuffle(selectStr[i]);
    
    for(int i = 0; i < selectStr.length; i++){
      for(int j = 0; j < selectStr[i].length; j++){
        System.out.print(selectStr[i][j] + " ");
      }
      System.out.println();
    }
  }
  public static void shuffle(Object[] arr){
    for(int i = 0; i < arr.length; i++){
      int n = (int)(Math.random() * i);;
      Object tmp = arr[i];
      arr[i] = arr[n];
      arr[n] = tmp;
    }
  }
}