99x interview question

Why do we use the extend keyword in Java?