Lecture 10 Objectives [Nov 09]
prev next
MUSICAL COMPOSITION:
Samuel Barber,
Adagio for Strings
MP3
At the end of today's class you should
HAVE READ:
- [177-194] from Wednesday's reading
- [194-208]
KNOW:
- The core concept of Information hiding
- The core concept of Encapsulation
- The this concept
- The core concept of the linked list as presented in class
and in examples.
BE ABLE TO:
- Write class definition that represents the List of
Student Values
- Write prepend method that adds a Student to the beginning
of a List of
Student Values
- Write search method that determines if a Student is in a List of
Student Values
DAILY QUESTION:
- Write the public boolean equals (Student otherStudent) method that
determines whether two Student objects are to be considered equivalent.
Sample Exam Question:
Write a method that returns the number of Strings in a
List of String values. Note that the class ListOfString values was
presented in class. Hint: this is going to be an instance method of the class
representing the List of String Values.