Question: 11. Write a code excerpt that performs the following actions: JAVA Declare an empty ArrayList named courses that can hold String values. Add the courses
11. Write a code excerpt that performs the following actions: JAVA
Declare an empty ArrayList named courses that can hold String values.
Add the courses "ITP 120", "ITE 115", and "ITN 101" to courses.
Display the number of elements in courses.
Display whether or not "ITD 256" is an element in courses.
Remove the element "ITE 115" from courses.
(21 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
