1. Engineering
  2. Electronics Engineering
  3. write the code to complete the following tasks create an...

Question: write the code to complete the following tasks create an...

Question details

Write the code to complete the following tasks:

  1. Create an ArrayList of Strings called colours.

  2. Add firstly “red” and then “blue” to the colours Arraylist.

  3. Remove “red” from the colours ArrayList.

  4.  

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution