Southampton University New College
Introduction to Programming With Java
JC154
Overview of Sessions
Tutor : David Millard (dem@soton.ac.uk)
This course is intended to introduce computer programming to
those who have little or no previous experience.
The teacher this semester is David
Millard
The Course is assessed via courseworks, these are available
below:
- Coursework1
(worth 20%)
- Coursework2
(worth 40%)
- Coursework3 (worth
40%)
One of the advantages of Java over many other programming
languages is the amount of free software and documentation that
is available, I have prepared a page describing some of those
resources:
Resources
The course is designed in 12 sessions as follows (N.B. I'm
currently putting the notes onto the web, so more and more should
become available!):
make sure that everyone is registered to use the
computers or can use them for the evening.
explain the history and philosophy of Java
use the Web browser to find the course notes and the Java
documentation online
use the javac compiler to write our first Java program
- Primative variables in main
- Classes and Objects
- Member variables
- Reference types in main
3) Classes,
Instances and References
- Primative Arithmetic
- Multiple instances
- How References really work
- Static variables
4) Methods
introducing the syntax of methods
parameters and return values
Constructors
Static methods
introduce comparison and logic operators
introduce the boolean type
look at the if...else structure
6) Control
Structures - Loops
introduce the use of loops
look at for, while and do...while
loops
7) Simple
Object Oriented Design : Encapsulation
Look at Encapsulation
Examine the object-oriented design process
Use this to produce a working program
8) Arrays
- single and multi dimensional arrays
- arrays of objects (references)
9) Inheritance
Indroducing inheritance
Superclass and Subclass
Object construction
Overiding behaviour
Access levels : protected
10) Exceptions
- catching exceptions (ArrayOutOfBounds, DivideByZero)
- throwing Exceptions
- writing Exceptions
11) Introduction
to the Java Foundation Classes (JFC)
Introduction to the JFC
importing packages
Strings
Collections
12) Workshop : Object Oriented Design
- How to go about solving problems using the OO philosophy
- Examining a soloution to Coursework 3 as an example