Lecture 11 - February 15, 2007
Reminder: Exam next Thursday
Review: lectures notes, labs, programs, slides, textbook
Bring questions from notes, labs, programs, slides, text to class on Tuesday (else I'll soldier on with Inheritance).
Discussed
Lab 9 -- showed code and questions
· Illustrated that relational operators don't just work with numbers, they work with characters
TestChar
· Pointed out that when comparing elements of wrapper class Boolean use compareTo
TestBoolean
· Pointed out that variables of primitive type boolean can only be tested for equality (= =) but not for <, >, >=, <= because they are not ordered.
Links to code examples:
As usual as .txt files
Please see notes in slides to see which correspond to which slides
Please remind me to discuss significant uses for Enum classes!