20091009-Association

20091009-Association - CSE115:Introductionto...

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

View Full Document Right Arrow Icon
Click to edit Master subtitle style CSE115: Introduction to  Computer Science I Dr. Carl Alphonce 219 Bell Hall 645-4739 [email protected] 11
Background image of page 1

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

View Full DocumentRight Arrow Icon
Phones off Signs out
Background image of page 2
Announcements Exam 2 in a week and a half (10/21) Exam 1 solution will be posted today Installation session next week (10/13 and 10/14) will send e-mail with details
Background image of page 3

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

View Full DocumentRight Arrow Icon
Agenda association relationship constructor form accessor/mutator form variation on a theme capture the domain
Background image of page 4
Revisiting Clifford
Background image of page 5

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

View Full DocumentRight Arrow Icon
 Fall 2007  CSE 115/503 Introduction to Computer  Another relationship One collar for its life…? A dog has-a tail; the tail is a  part of the dog. We need something different  to model the relationship  between a dog and a collar.
Background image of page 6
Association No necessary lifetime link Two implementations: The first is very similar to composition, but differs in one  crucial respect: where the target class is instantiated. The second, which decouples lifetimes completely, is a bit  more complex but also more flexible.
Background image of page 7

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

View Full DocumentRight Arrow Icon
Dog-Tail relationship is COMPOSITION Dog takes responsibility for creating a Tail
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/13/2011 for the course CSE 115 taught by Professor Decker during the Fall '08 term at SUNY Buffalo.

Page1 / 27

20091009-Association - CSE115:Introductionto...

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

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