For those of you who were selected to "Take your professor to lunch" - the date is being postponed. I need to see a physician in Maryland tomorrow morning at 9am about my fractures.
We will re-schedule.
I will not be here tomorrow Friday although I had expected to be. Therefore there is a change in
due date for program - not due until Monday night a midnight. Turn the printouts in on Tuesday at the start of lecture.
Quiz on writing stub for method for pseudoh!
We went over it in class Key to quiz is here.
We briefly talked about the terms abstract and interface. Interfaces are implemented. Abstract classes are extended. Abstract methods have a header but no body. Here is another link to the slides from Chapter 11 on Polymorphism,abstract classes and interfaces. Note : the next lab will be about interfaces.
You should compile and run Lot.java, LotDriver.java, Catalog.java and CatalogDriver.java before modifying Lot.java or Catalog.Driver.
We looked at together at Auctioneer.java which you won't change at all! You can run Auctioneer from the command line or from within jGrasp. The default output files have prefix actual. If you are running Auctioneer from within jGrasp and entering text and want to quit use the END button. <ctrl>z won't work. You need to have Lot.java, Catalog.java, Auctioneer.java and the 9 .txt files in the same directory to be able to get your program to produce results that can be compared with the ones provided for you.
Below are some links to using static. It is best not to use it as a modifier unless you have to (when it's a method in main) or when there's a good reason (a sharedWheel in a roulette game with many players). If you make a method static than any class attribute it uses must also be static.
Although you may make a method in a class static, you should not do so without a good reason.