Alex Pupyshev wrote:
I bought the enthuware mock exams too. Did you have any questions on the real exam that are not covered by the software ?
Jeff Verdegan wrote:
Justin Johnson wrote:
In the meantime though, if there is a quick fix available for my program above what is it?
There almost certainly is. I'm sure not gonna give it out though.I don't like encouraging bad habits.
So far I've posted all my code and none of the suggestions given so far have worked. Are they working for anyone else?
If they didn't work, then you didn't follow them correctly. If you show your current code (or better a version stripped down to an SSCCE), then somebody should be able to point out where you went wrong.
Jeff Verdegan wrote:
I think it's time to take a step back and actually learn and understand the concepts of static and non-static, so you'll be able to use them appropriately in your design.
Gary Deer wrote:
To keep the design the way it is I would suggest using an array, adding the division as a member variable, and using a for loop to iterate over the teams printing those whose division variable == "Atlantic". I'm just going off the top of my head here, so there might be scoping issues with that solution too, but you might think of something else while trying to implement that.
Jeff Verdegan wrote:You could make printAtlantic static. That would get rid of one compilation error. But that's just a non-OO hack. I hope you will not choose to continue down that path.