Stuck on 8/13


I can’t seem to do this. it gives me the error message: error: cannot find symbol
symbol: method printIn(String)
location: variable out of type PrintStream

I feel like something’s up with my code.

class Dog {

int age;

  public Dog(int dogsAge) {
  	age = dogsAge;

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



You use


and the valid statement is


( it is printline )


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