Objects - Java Defining a class-constructor & creating an Instance 7/13



Replace this line with your code. 
<img src="//codecademy-discourse.s3.amazonaws.com/original/4X/3/6/8/368801888a32e082f19a967396d18970813b10af.png" width="690" height="387">


Do you see, in the example, how we made a new Car?

Car myFastCar = new Car(2007);

Follow that pattern when making your new Dog.


Have a look at the documentation


In the main, type new Dog instead of age. Worked for me.