Where did i go wrong?



im not getting an error message. it is saying i did not "add the dogsAge parameter to the constructor".

class Dog {
		int age;

		public Dog (int dogsAge) {
      	age = dogsAge;
	public static void main(String[] args) {




Did you try taking out the space in-between public Dog and (int dogsAge)?


yes, it did not help :frowning:


I'm having issue and I've been stuck in that exercise.

Did you figure it out?


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