// short program to demonstrate the use of a map to keep track of the names // of the instructors for various courses. import java.util.*; public class Instructor { public static void main(String[] args) { Map instructors = new TreeMap(); instructors.put("cse143a", "Hunter Schafer"); instructors.put("cse143x", "Stuart Reges"); instructors.put("cse154a", "Lauren Bricker"); instructors.put("cse142a", "Brett Wortzman"); instructors.put("cse142b", "Brett Wortzman"); System.out.println("instructors = " + instructors); } }