extends Java Keyword

The extends keyword is used in a class or interface declaration to indicate that the class or interface being declared is a subclass of the class or interface whose name follows the extends keyword.

Examples

  public class Rectangle extends Polygon
  {
  }
  

Remarks

Related Topics

class Java Keyword

implements Java Keyword

interface Java Keyword