Consider the following method, inCommon, which takes two Integer ArrayList parameters. The method returns true if the same integer value appears in both lists at least one time, and false otherwise.public static boolean inCommon(ArrayList a, ArrayList b){for (int i = 0; i < a.size(); i++){for (int j = 0; j < b.size(); j++) // Line 5{if (a.get(i).equals(b.get(j))){return true;}}}return false;}Which of the following best explains the impact to the inCommon method when line 5 is replaced by for (int j = b.size() - 1; j > 0; j--) ?A. The change has no impact on the behavior of the method.B. After the change, the method will never check the first element in list b.C. After the change, the method will never check the last element in list b.D. After the change, the method will never check the first and the last elements in list b.E. The change will cause the method to throw an IndexOutOfBounds exception.