In this Java tutorial lesson we are going over inheritance of other classses. In Java we are able to use methods on other classes by using the extends keyword in our class declaration. The extends keyword is followed by the name of the class we want to inherit from. In this lesson we have an Animal.java file which we will inherit from for our Dog class. It makes sense to use some information regarding animaly types in our dog since a dog is a type of animal.