T
Thomas
I have to implement a simple class hierarchy :
List (two directions )
/ \
/ \
Queue Stack
The thing is List has more methods than Q and S. Should I make the methods,
which aren't common private or use the interface mechanism ? Are there other
ways two do that model inheritence in java ?
List (two directions )
/ \
/ \
Queue Stack
The thing is List has more methods than Q and S. Should I make the methods,
which aren't common private or use the interface mechanism ? Are there other
ways two do that model inheritence in java ?