{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

20091104-Collections

20091104-Collections - CSE115:Introductionto...

Info iconThis preview shows pages 1–6. 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 Office hours: M-F 11:00-11:50 645-4739 [email protected]
Background image of page 1

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

View Full Document Right Arrow Icon
Announcements Exam 3 on Wednesday 11/11 covers material from last exam up to and including  Friday 11/06  Review on Monday 11/09 Exercises: FA09-CSE115-Exercises project in  LectureCode repository
Background image of page 2
Agenda If you started lab early… Collections Inheritance – our last relationship!
Background image of page 3

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

View Full Document Right Arrow Icon
Collections We have seen that a variable can hold  one object reference at a time. How do we effectively deal with multiple  references? arbitrarily many what does addActionListener do?
Background image of page 4
Collections interface: java.util.Collection<E> (some) classes implementing interface: java.util.HashSet<E> java.util.ArrayList<E> E is the type of element contained in the  collection – replace by an actual type
Background image of page 5

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

View Full Document Right Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}