Given the JUnit 4 test below: @Test(expected = Ind…
Given the JUnit 4 test below: @Test(expected = IndexOutOfBoundsException.class) public void testIndex() { List list = new ArrayList(); list.add(“apple”); list.add(“orange”); list.get(4); } Which of the following is/are true (select all correct answer(s) and no incorrect answer(s) to get credit):
Read Details