CIS 17: Java Programming

Project C

Objective:

To investigate the cleanup of objects and the creation of libraries.

Using finalize() to verify a termination condition

Creating a Java library or package
package tools;

public class Prin {
  public static void t(String s) {
    System.out.print(s); }
  public static void tln(String s) {
    System.out.println(s); }
}

Submit your work via the CATE form for Project C.

Legend: method/function keyword literal

2007/02/27