CSE1720_F11_Lecture07_Inheritance_I.pptx

CSE1720_F11_Lecture07_Inheritance_I.pptx - Announcements: "...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 1720 Lecture 7 Inheritance Announcements: Lectures 7-10 assigned reading: Ch 9, JBA 2 Goals/ To do: Good practices for the declaration and instantiation of objects within a class hierarchy Take advantage of polymorphism when desiging apps Create, modify, and iterate over a collection of Shapes ; use services of Graphics2D for manipulating and/or operating upon the shape objects Goals/ To understand: understand a class in terms of its position within a hierarchy understand the Object class in terms of its position at the top of the class hierarchy recognize and understand subclass features from their APIs distinguish between early and late binding understand and distinguish among non-primitive types deFned by: classes , abstract classes and interfaces . understand generic collections 3 Key Concepts We live in a world of many objects. Many apps require us to represent the world (albeit partially) To do this, we look to identify groups of objects – what is common among objects within a group? similarity in terms of attributes and methods . – what sets objects
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/13/2012 for the course CSE 1720 taught by Professor Baljko during the Winter '12 term at York University.

Page1 / 4

CSE1720_F11_Lecture07_Inheritance_I.pptx - Announcements: "...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online