|
|
|
JAVA
00 |
Introduction |
½ hour
|
|
|
|
|
|
|
top
of page |
|
|
|
|
|
JAVA
01 |
Environment (with exercises)
|
1
hour |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
top
of page |
|
|
|
|
JAVA
02 |
Java Primitives (with exercises)
|
2
hours |
|
-
Java syntax
and datatypes-
variables
and declarations
-
initialisation
and assignment
-
arithmetic
operators
-
relational
and boolean operators
-
operator
precedence
-
literals and strings
-
type
conversions and keywords
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
top
of page |
|
|
|
|
JAVA
03 |
Control Flow (with exercises)
|
2
hours |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
top
of page |
|
|
|
|
JAVA
04 |
Objects and Classes (with
exercises)
|
3
hours |
|
-
what is a
class?
-
defining
classes
-
creating
new objects
-
primitives
and objects
-
the null
reference
-
object
instance variables and methods
-
passing
data to methods
-
returning
data from methods
-
local
variables
-
calling an
instance method
-
constructors
-
this
reference
-
chaining
constructors
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
top
of page |
|
|
|
|
|
JAVA
05 |
Advanced Classes
|
1
hour |
|
|
-
overloading
methods
-
visibility
-
class
variables and methods
-
constants
-
initialising variables
-
garbage
collection
-
recovering
resources
-
wrapper
classes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
top
of page |
|
|
|
|
|
JAVA
06 |
Collections
(with exercises) |
1½
hours |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
top
of page |
|
|
|
|
|
JAVA
07 |
Inheritance |
2½
hours |
|
|
-
class
hierarchies
-
defining subclasses
-
inheriting
variables and methods
-
creating
subclasses
-
calling
superclass constructors
-
overriding
methods
-
using
superclass methods
-
substitution
-
polymorphism
-
hiding
variables
-
final
classes and methods
-
abstract classes and methods
-
the Java
class hierarchy
-
run-time
type identification
-
casting
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
top
of page |
|
|
|
|
|
JAVA
08 |
Interfaces |
2
½ hours |
|
-
what is an
interface?
-
defining
an interface
-
implementing
an interface
-
polymorphism
with interfaces
-
inheriting
interfaces
-
the
Cloneable interface
|
|
|
|
|
|
|
|
|
|
|
|
|
top
of page |
|
|
|
|
|
JAVA
09 |
Strings |
1
½ hours |
|
-
the String
class
-
concatenation
-
convert
primitives to strings
-
convert
objects to strings
-
substrings
-
editing
strings
-
test
for equality
-
format
output
-
the
StringBuffer class
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
top
of page |
|
|
|
|
|
JAVA
10 |
Streams
and Files (with exercises) |
3
hours |
|
-
read
and write bytes
-
read
and write primitives
-
read from
or write to a file
-
random
access files
-
file
management
-
read and write text
-
zip file
streams
-
read and
write objects
-
object
serialization
-
data
integrity and versioning
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
top
of page |
|
|
|
|
|
JAVA
11 |
Exception
Handling (with exercises) |
1
½ hours |
|
-
what is an
exception?
-
the
exception hierarchy
-
advertising
exceptions
-
create and
throw exceptions
-
catch and
handle exceptions
-
when to
handle exceptions
-
release
resources
-
designing
application exceptions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
top
of page |
|
|
|
|
|
JAVA
12 |
Packages
and Inner Classes (with exercises) |
2
hours |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
top
of page |
|
|
|
|
|
JAVA
13 |
Applets
(with exercises) |
2
hours |
|
-
what is an
Applet?
-
the Applet
class
-
applet
states
-
create and
run an applet
-
applets
and HTML
-
testing
applets
-
passing
information to applets
-
applet
security
-
using
graphics
-
drawing
text
-
changing
colours
-
drawing
shapes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
top
of page |
|
|
|
|
|
JAVA
14 |
Events
and Swing (with exercises) |
3
hours |
|
-
event
driven development
-
AWT
event model
-
AWT and
Swing
-
top
level windows
-
supply
an event listener
-
succinct
with anonymous classes
-
displaying
graphics in a frame
-
using
buttons
-
which
button was clicked?
-
layout
management
-
providing
menu options
-
using
radio buttons
-
text input
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
top
of page |
|
|
|
|
|
JAVA
15 |
Multithreading
(with exercises) |
2
hours |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
top
of page |
|