The task has very little to do with the fact that it is "OOP", it is more about how you evaluate it.
I would take a look at the Refactoring book, chapter 3, and make sure that there is not a single bad code smell in the solution. Or, more importantly, move on to those that really apply.
Most importantly, keep an eye on the existence of setters and getters (indicating that you are working with values from a class and not asking the class to work with its own values) - or using "extends" without applying the Liskov replacement principle, such things.
Bill K Sep 16 '08 at 21:06 2008-09-16 21:06
source share