Module Description

The module will provide an introduction to the fundamentals of object-oriented programming using Java. Students will analyse, write and explain Java programs using a range of control structures. They will define classes and use objects of those classes. Students will study inheritance and polymorphism and perform file-based I/O, event handling and some simple graphical components.

Aims

The aim of this module is to provide an introduction to the fundamentals of object-oriented programming using Java.

Learning Outcomes

After successfully completing this module, students will be able to:

1. Analyse, write and explain Java programs that utilise primitive and reference types and make use of a range of control structures including iteration, recursion and exception handling.

2. Analyse, write and explain programs that define classes and use objects of those classes.

3. Analyse, write and explain programs that utilise inheritance and polymorphism.

4. Analyse, write and explain programs that use parts of a platform API to perform file-based I/O, event handling and display of simple graphical components.

Syllabus
  • Introduction to Object-Oriented Programming
  • Primitive and reference types (Classes, Objects and Arrays)
  • Inheritance and Polymorphism
  • Flow of Control (iteration, try-catch blocks, recursion)
  • File I/O
  • Event Handling and Graphical Components
  • Dealing with Collections of Objects (Lists and Maps)
  • Miscellaneous