/** Taken from Core Web Programming from * Prentice Hall and Sun Microsystems Press, * http://www.corewebprogramming.com/. * © 2001 Marty Hall and Larry Brown; * may be freely used or adapted. */ // This class is not abstract, so it must provide // implementations of method1, method2, and method3. public class Class3 extends Class2 { public ReturnType1 method1(ArgType1 arg) { someCodeHere(); ... } public ReturnType2 method2(ArgType2 arg) { someCodeHere(); ... } public ReturnType3 method3(ArgType3 arg) { someCodeHere(); ... } ... }