UCSC CMPS 20 - Inheritance, Method Overloading, Interfaces, Abstract Classes (18 pages)

Previewing pages 1, 2, 3, 4, 5, 6 of 18 page document View the full content.
View Full Document

Inheritance, Method Overloading, Interfaces, Abstract Classes



Previewing pages 1, 2, 3, 4, 5, 6 of actual document.

View the full content.
View Full Document
View Full Document

Inheritance, Method Overloading, Interfaces, Abstract Classes

95 views


Pages:
18
School:
University of California, Santa Cruz
Course:
Cmps 20 - Game Design Experience
Game Design Experience Documents

Unformatted text preview:

Inheritance Method Overloading Interfaces Abstract Classes Game Design Experience Professor Jim Whitehead January 28 2009 Creative Commons Attribution 3 0 creativecommons org licenses by 3 0 Announcements Homework 1 back Friday Was unable to connect with TAs yesterday Work breakdown and schedule Due next Monday Team assignment Goals Develop an understanding of work needed to be performed to complete project and time required Discuss breakdown of tasks among partners Classification Classification is the act of assigning things to categories of things The is a relationship Examples A Volkwagen Jetta is a kind of car A hot dog is a kind of food Classification is at the heart of object oriented modeling An object oriented class represents a category Class car Class food Object instances in OO are instances of categories Developing classes The process of taking a set of real world objects and developing its associated category is called abstraction Example If I give you the set of food items Cheese whizz hot dog corn chips bran flakes chicken The act by which you create the category food and call these all examples of food is abstraction The process of abstraction is used to determine what classes should be in your software Abstraction and Classification is tricky Consider the following items Which ones do you consider to be furniture Sofa Recliner Television Stove Counter top microwave oven Fixed line telephone Qualities of categories Fuzzy boundaries Some category members are better examples of the category than others Categories often best understood in contrast to other categories Dividing line between furniture and kitchen appliances Women Fire Dangerous Things George Lakoff Book on categorization Hierarchies of Categories Sometimes there are situations where you have multiple levels of categories Category1 is a kind of Category2 is a kind of Category3 Example A cell phone is a kind of telephone A wired phone is a kind of telephone An iPhone is a kind of cell phone



View Full Document

Access the best Study Guides, Lecture Notes and Practice Exams

Loading Unlocking...
Login

Join to view Inheritance, Method Overloading, Interfaces, Abstract Classes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Inheritance, Method Overloading, Interfaces, Abstract Classes and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?