A quick way to remove all elements from an array list is with clear().

Can you clear all tasks from the schedule array list?

Perfect! Your code would be a great addition to a scheduling app.

Nope! We'll need to clear the schedule array list.