/* Did you ever read (or have read to you) Dr. Seuss's 
"The Cat in the Hat". Apart from an annoying cat there were 
2 particularly annoying things...thing 1 and thing 2. Here 
is a java class that creates thing 1 and thing 2 in code. 
The beauty is that one gets killed by the system...try 
and see what I mean ;-)

regards, Alex
*/

// Thingmaker example class illustrating swapping and 
// garbage collection. 
// Alex Ferworn, SCS Ryerson, Fall 2002

public class Thingmaker
{
	private static int thingsmade = 0;
	private int thingnumber;

	public Thingmaker()
	{
                thingsmade++;
		thingnumber = thingsmade;
	}

	public static int countreturn()
	{
		return thingsmade;
	}

	public int thingnumber()
	{
		return thingnumber;
	}
}