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