RU beehive logo ITEC Department logo
ITEC 120
2007spring
ibarland,
jpittges

homeinfoexamslectureslabshws
RecipeLawsliessyntaxjava.lang docsjava.util docs

lect08c
Objects containing Objects: a Case Study
lect08c

Today we will discuss and demonstrate the ClockDisplay example, from Chapter 3 of the text. (The powerpoint slides for chapter three are available on WebCT.)

Us vs. the book

There are a few slight differences in material, between the Java code we're using in class, and the textbook:

1 It immediately raises the question: if both these list classes have exactly the same methods as each other, and always can be interchanged, then why do two such classes even exist? We'll get to that near the end of the semester! The brief answer: depending on the situation, one class sometimes requires less time or memory than the other. For all the programs we'll write in this class, the performance will be the same. We prefer avoiding the name “ArrayList”, because students think it's an array, which it's not -- it's a list!      

homeinfoexamslectureslabshws
RecipeLawsliessyntaxjava.lang docsjava.util docs


©2007, Ian Barland, Radford University
Last modified 2007.Aug.27 (Mon)
Please mail any suggestions
(incl. typos, broken links)
to iba�rlandrad�ford.edu
Powered by PLT Scheme