Thread: Removing an object from an arrayList while saving it at the same time.
What is the next highest prime number after 31?