From charlesreid1


from linked binary tree concrete implementation:

  • Implements interface that implements another interface
  • Node class is protected
  • Protected createNode factory method
  • Protected validate method
  • Public attach, remove

The biggest problem was keeping all the functionality details straight. Knowing what choices to make.

  • Protecting a method versus private method versus public method?
  • Implementing an interface versus a class?
  • Class within a class versus public class?
  • Proper protection on a private utility class?