locked
best patterns RRS feed

  • Question

  • User-1773948845 posted

    This is my scenerio

    I have to define a interface getwheels() which returns the no of wheels in the vehicle

    I have 2 class namely car and bike which inherits the interface Ivehicle which contains the declaration of the method getwheels

    does any one if this logic can be used by factory pattern or any patterns

    please suggest

    Thursday, September 16, 2010 10:03 PM

All replies