3/13


#1


HOW DO I SOLVE FOR THIS???
HELPP!!!!!!


#2

Did you try solving it?


#3

I'm stuck on this too. I have no idea how to add a class constructor. Terminology is gleaned over, and there isn't any suggested supplemental reading.


#4

Stuck in the same too, heeelp!


#5

This is where I'm stuck. It keeps asking me to create a dog constructor but I did. Heeelp!


#6

class Dog{

public Dog() {

}

public static void main(String[] args) {

}
}


#7

I'm having the same problem too.


#8

The squiggly brackets for the class dog should open before the public dog and close after the squiggly bracket in in the public static.


#9

i'm having the same issue, it doesn't explain itself well enough. It's very frustrating.


#10

Oh, i see where i went wrong! I was including the main class inside of the dog class instead of afterwards


#11

I could be wrong about this, but here's what i think; the Main class is what executes when we hit run and in this case because there's nothing going on in the { } of main the program does nothing and considers itself completed without even looking at the Dog constructor. Try moving your Dog constructor to before the main. But make sure not to put the main inside the curly brackets of Dog { }


#12

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