正在加载图片...
Student with two subclasses Student NUM OF TESTS We will define three classes Student Student course Grade Graduate student Undergraduate Student setTestscore name getTestScore Implementation of compute Course Grade is unique to each subclass Graduate Student Undergraduate Student compute CourseGrade compute Course Grade C 2000 McGraw-Hill troduction to Object-Oriented Programming with Java--Wu Chapter 14-4© 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 14 - 4 Student with Two Subclasses GraduateStudent computeCourseGrade UndergraduateStudent computeCourseGrade Student Student setTestScore getTestScore NUM_OF_TESTS 3 courseGrade name test[ ] … We will define three classes: Student GraduateStudent UndergraduateStudent Implementation of computeCourseGrade is unique to each subclass
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有