FileDocCategorySizeDatePackage
Deprec.javaAPI DocExample293Sat Nov 25 12:56:12 GMT 2000None

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
		// EXPECT DEPRECATION WARNING
		Date d = new Date(86, 04, 05);		// May 5, 1986
		System.out.println("Date is " + d);