A rectangle of 5 rows with 4 stars per row.
public int countTarget(int[] arr, int target)
{int count = 0;for (int j = 0; j <= arr.length; j++) // line 4{if (arr[j] == target){count++;}}return count;}
Which of the following changes, if any, can be made to line 4 so that the method will work as intended?