Lecture 43, CS 302-6, December 14

  1. Various things
    1. Review session

                                                               i.     Friday, 11-12:30

    1. Office Hours today

                                                               i.     1-3

  1. Review:
    1. Interfaces

                                                               i.     Definition – a contract between interface and implementing classes

                                                             ii.     Defining

1.    Syntax

2.    Interface type

3.    Abstract methods

4.    static final constants

                                                            iii.     Using

1.    class implements interface

2.    Include all methods

a.    Code or stub

    1. The Comparable interface

                                                               i.     compareTo method

                                                             ii.     Using Javadoc to learn about Interfaces

  1. Exam prep
  2. Things to do over break (if CS excites you) – practice!
    1. The best way to get better at programming is by doing it
    2. Make a game – Boggle, Yahtzee, Checkers, etc
    3. Solve some problems/puzzles.  One suggestion: ProjectEuler.net
    4. Learn another Language – python, C++ are both pretty similar to Java, widely used, and rely on similar concepts