Using Methods I spike.bark();


Hi All,

Please can you assist, see screebshot below.
Is there an error in the code, or is it an issue with the code academy website?



Try coding on separate lines…

class Dog {
   int age;
   public Dog(int dogsAge) {
      age = dogsAge;
   public void bark() {
   public static void main(Strings[] args) {
      Dog spike = new Dog(5);

To learn more about the “Aw Snap!” situation…
google search
== discussions / opinions ==
Aw snap

My experience:
Leave course & codecademy & browser
delete all cooky-files
wait, an hour before connecting to the particular course in codecademy


Thank you. It worked in a different browser. :tada: