9/13 excercise

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>
Dog.java:13: error: expected
System.out.println(“Woof!”);
^
Dog.java:13: error: illegal start of type
System.out.println(“Woof!”);
^
Dog.java:17: error: class, interface, or enum expected
public static void main(String args) {
^
Dog.java:18: error: class, interface, or enum expected
public int getAge() {
^
Dog.java:21: error: class, interface, or enum expected
public void run(int feet);
^
Dog.java:24: error: class, interface, or enum expected
System.out.println(“Your dog ran” + feet +“feet!”)
^
Dog.java:28: error: class, interface, or enum expected
public int getAge(){
^
Dog.java:30: error: class, interface, or enum expected
}
^
8 errors

9/13

```

Replace this line with your code.

<do not remove the three backticks above>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.