Inheritance gives a class all the properties of the class it's extending, or inheriting from.

See it for yourself: create an object from the Dog class and display it.

Assembling new Dog("Pug"), then display the dog object on the console.