First Run Attached Classes See Output Examine Code See Composition Works Complete Followin Q37292140

First run the attached classes and see what the output is thenexamine the code and see how composition works. Complete thefollowing steps to modify some of these classes so that it willalso print out the information on the SI of the class too.

  • Add SI class that has three instance variables (first name,Last name, Office hours)
  • Add all the methods required for this class (includingtoString() method)
  • Modify the course class toString() method so that it will alsoprint out the information on SI.
  • Modify the client so that it works with the additionalclass.

/** * This class stores information about an instructor. */public class Instructor{

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.