FileDocCategorySizeDatePackage
OverRide.javaAPI DocExample417Sat Nov 25 12:55:46 GMT 2000None

OverRide

public class OverRide extends Object
Demonstration of overriding, from Chapter 7.

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

		System.out.println("Calling an A's version of xyz");
		new A().xyz();
		System.out.println("Calling a B's version of xyz");
		new B().xyz();