8 Methods I

What’s wrong with my code did I put something wrong?
I don’t understand the error can someone explained the error.

class Dog {
  
  int age;

	public Dog(int dogsAge) {
    
  	age = dogsAge;
    
  }
  
  public void bark() {
    
    System.out.printIn("Woof!");
  	
  }

	public static void main(String[] args) {
    
    Dog spike = new Dog(5);

	}
}

Error message says, no such symbol, printIn

And there isn’t. But there is one spelled nearly the same. Compare.

I think your “l” in print on is an capital “i”

Request close problem solved!