001package edu.pdx.cs410J.j2se15; 002 003/** 004 * This class contains one method that is overridden in a {@linkplain 005 * OverrideExample subclass}. Because the subclass's method is 006 * annotated with an {@link Override} annotation, it will no longer 007 * compile if the method is removed from this class, the superclass. 008 * 009 * @author David Whitlock 010 * @since Winter 2005 011 */ 012public class OverrideSuperclass { 013 014 /** 015 * If this method is removed from this class, its subclass {@link 016 * OverrideExample} will not complile. 017 */ 018 public void methodToOverride() { 019 020 } 021 022}