In the java.util.concurrent package, find a List implementation that has the following characteristics: 1. The iterator doesn't contain any data added to the list after the iterator's creation; 2. Data is stored internally as an array.
In a separate file, create a class called MyThread that inherits Thread. MyThread must: 1. Be able to be created using any of the superclass's constructors (Alt+Insert). 2. Thread priorities must be set using a loop—from the minimum to the maximum value.