class extends class code example Example: class extends class className extends otherClassName{ // code }