// #8 SHELL package ooos; // What does UML say about inheritance? public class Null { // Constructor shown in UML "create" call protected Null() { // 1: is the ONLY line of code in the constructor! // 1.1: is located elsewhere, and is the result of the 1: call } // This is just a "helper" method private void busyWait() { // 2.1: // 2.2: } // All Threads, hencs Procs, have a concurrent "run" method public void run() { // 1: takes care of the "race condition" // 2: uses the helper method to waste time } }