<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.>
https://www.codecademy.com/en/courses/learn-java/lessons/object-oriented-programming/exercises/objects?action=resume
<In what way does your code behave incorrectly? Include ALL error messages.>
Dog.java:15: error: class, interface, or enum expected
public static void main(String args) {Dog dogsAge = new
^
1 error
class Dog {
public Dog(int dogsAge) {
age = dogsAge;
}
}
public static void main(String args) {Dog dogsAge = new
Dog dogsAge = new
}
<do not remove the three backticks above>
Can anyone help me please? If I am to become a software designer someday and go to school with some knowledge of coding, I must be able to learn java.