CSCI 201: Intro to Programming (Java)
Programs designed in class
- Demo of public, private, and static variables: Vars.java
- Scope of variables: Scope.java
- Constructors and finalizers: ConstrFinal.java
- Methods toString() and equals(): StdMethods.java
- Working with constructors: Construct.java
- Copying class instances and class references: CopyClass.java
- Working with vectors and using the instanceof operator: VectorTest.java
- Towers of Hanoi in text mode: Towers.java
- Dijkstra's shortest path algorithm
and its implementation Dijkstra.java.
Involved class Node.java, and a sample network data file network.dat