Download presentation
Presentation is loading. Please wait.
1
1 COMP 110 Inheritance Tabitha Peck M.S. April 16, 2008 MWF 3-3:50 pm Philips 367
2
2 Announcements Help with Program 4 (Due next Wednesday) Final –Monday, May 5 –Philips 367 –4:00 p.m.
3
3 Questions?
4
4 Today in COMP 110 More Inheritance
5
5 Inheritance Define a general class Later… define specialized classes Specialized class inherits properties from general class –Instance variables –Methods
6
6 UML Diagram Person Student Employee Undergraduate Graduate FacultyStaff
7
7 Create your Own Groups of 3 –1 person you have never worked with before –1 video game player Design a character class for a video game
8
8 What to hand in 1.Brainstorm Character instance variables and methods 2.Build (separate) UML diagrams for 4 different characters 3.Using inheritance rewrite your UML diagrams 4.Explain why inheritance is wonderful
9
9 Friday Help with program 4
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.