Asynchronous execution of threads. 1. The Note class will be used by threads. 2. Create a public static NoteThread thread (the Runnable interface does not make a class a thread), whose run method does the following 1000 times (index = 0-999): 2.1. Using the addNote method, add a note named [getName(
Faster together? We'll see :)
1. Understand what we're dealing with and how it works. 2. Create a public static SortThread class, whose run method uses the sort method to sort the static array testArray.
GO TO FULL VERSION