Help/Hilfe!


#1

Ich brauche Hilfe/ it does not work when i do what it says!
3.
Inside of main, set an int variable spikeAge to the value returned by spike.getAge();
class Dog {

int age;

public Dog(int dogsAge) {
age = dogsAge;

}

public void bark() {

System.out.println("Woof!");

}

public void run(int feet ) {
System.out.println("Your dog ran " + feet + " feet!");
}

public int getAge() {
return age;
}
public static void main(String[] args) {

Dog spike = new Dog(7);
spike.bark();
spike.run(89);

int.spikeAge = spike.getAge();
}

}


#2

Could you post a screen shot of the whole web page please?


#3

kk //14326523rujwzesgfjzgerfzrggfuzgrezfgrze//


#4

I'm not sure what that is ... but it isn't something that I can read :smile:


#5

kk means ok (i had to have 20 char.!)


#6

now i can't scroll ^and down


#7

Don't bother i tried again and it worked