Lecture 1 Objectives


At the end of today's class you should

KNOW:

BE ABLE TO:

Sample Exam Question:

Define a class to represent the recording of a TV show using Tivo. The information that needs to be recorded about each show is the show's name, the channel number, the time the show starts, and the duration of the show. Provide examples of data. Develop a method isLongShow() that produces true if this show is longer than one hour. Provide test cases for your method.