Supporting Material
OOP Basics
Java basics
OOP core ideas
Examples of classes
A
Point
class
A
HydroCarbon
class
A
QuadraticEquation
class
A
Product
class
A
Rectangle
class
The Tiny Book of Object-Oriented Programming
Unit testing
A JUnit tutorial
Documenting your code
Using Javadoc
Object-Oriented Design
CRC cards
Graphical User Interfaces
Demonstrating GUI components:
Example 1
,
Example 2
,
Example 3
Adding event handling:
Example 1
,
Example 2
Tutorials for various Swing components
Swing Components
Text components
File Browsing
JavaFX
A tutorial
Inheritance - Animals class hierarchy
Animal
Mammal
Reptile
Dog
Cat
Persian Cat
Duck Bill Platypus
Pettable interface
Test class
File input/output
Text output and input
example
. Here is the
file
created by the code.
Binary output and input
example
. Here is the
file
created by the code.
Object output and input
example
. Here is the
file
created by the code.
Writing generic, reusable code
Generic Linear Searching
Generic Bubble Sort
Java Generics tutorial