This page contains links to various Java examples that I usually present in
classes that rely on a knowledge of Java programming:
-
Arrays
- Input / Output
-
-
- Networking
- Output Formatting
-
Math
-
Object Oriented Programming
- An introduction to classes via the "Complex Number" class
- Advanced Topics
-
- "Mutually Comparable
Data Node" class
- This class implements a Node object which
contains a data element which is mutually comparable to other data
elements (of other Nodes). The Node objects are
comparable to each other via the comparison of their respective data
elements.
- This represents a reasonably complex, but common usage of
generic types in both theory and practice. (Mutually
comparable nodes are an essential component of many
data-structures).
- See my Advanced Object
Oriented Design page for more general and more detailed
examples.