You extend a class by using the extends keyword in a class declaration,
The Parent class
public class Parent { }
The Child class
public class Child extends Parent { }