CS 102 Object-Oriented Programming

Spring 2018

Important Dates (tentative):

  • Midterm Exam 1: 15.03.2018
  • Midterm Exam 2: 19.04.2018
  • Final Exam: TBD
  • Withdrawal week: 26-30.03.2018

Code

Public repository: https://github.com/aktemur/CS102


Lectures

Week 01

Week 02

  • Constructors, function overloading.
  • Access modifiers
  • get/set methods.
  • toString() method.

Week 03

  • What is this?

Week 04

  • Defining a collection of objects (ArrayList).

Week 05

  • Inheritance

Week 06

  • Inheritance cont’d.
  • !!! EXAM 1 !!!

Week 07

  • Objects and memory.
  • Abstract classes and methods.

Week 08

Week 09

  • UML
  • GUI programming

Week 10

  • ActionListener, MouseListener, MouseMotionListener, MouseAdapter
  • Project is announced.

Week 11

  • Object-oriented programming exercise: Snake Game.

Week 12

  • Extending the Snake Game.
  • General review.
  • !!! EXAM 2 !!!

Week 13

  • MVC

Week 14

  • Exceptions
  • Inner and anonymous classes

Week 15

  • More about exceptions
  • Snakes and ladders game