FileDocCategorySizeDatePackage
Deprec.javaAPI DocExample294Sun Feb 08 21:34:02 GMT 2004None

Deprec

public class Deprec extends Object
Demonstrate deprecation warning

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] av)


		// Create a Date object for May 5, 1986
		Date d = 
			new Date(86, 04, 05);	// May 5, 1986 // EXPECT DEPRECATION WARNING
		System.out.println("Date is " + d);