/** Demonstration of abstract class hierarchy for Degree Programs @author P. Conrad for CS56, S11, UCSB */ public class DegreeProgramDemo01 { public static void main (String [] args) { DegreeProgram dp = new BSCSDegreeProgram(); System.out.println("University: " + dp.universityRequirements() + "College: " + dp.collegeRequirements() + "Dept: " + dp.departmentRequirements()); } }