5/13: keeps giving 'Did you add the `dogsAge` parameter to the constructor?' error


#1

https://www.codecademy.com/courses/learn-java/lessons/object-oriented-programming/exercises/classes-constructor-parameters

I still get can't go to the next exercise. I get this message : 'Did you add the dogsAge parameter to the constructor?
'

class Dog{

	int age ;
  
	public Dog (int dogsAge){
    
  }
  	
  

	public static void main(String[] args) {

	}
}

#2

I had the same error.
There is a space between Dog and "(int....)"

Good day


#3

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