All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.pdx.cs.joy.lang.OverrideSuperclass Maven / Gradle / Ivy

The newest version!
package edu.pdx.cs.joy.lang;

/**
 * This class contains one method that is overridden in a {@linkplain
 * OverrideExample subclass}.  Because the subclass's method is
 * annotated with an {@link Override} annotation, it will no longer
 * compile if the method is removed from this class, the superclass.
 *
 * @author David Whitlock
 * @since Winter 2005
 */
public class OverrideSuperclass {

  /**
   * If this method is removed from this class, its subclass {@link
   * OverrideExample} will not complile.
   */
  public void methodToOverride() {

  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy