Calculate Interface RRS feed

  • Question

  • Hello Friends, I was wondering how i could use the Gof Factory Method Design Pattern using a Calculate Interface. I am just asking this for learning purposes.  I thought that this would be a simple way to start out. I'm thinking that i would design a calculator user interface and then create my object methods for calculation based on whether the user clicks on an add, subtract, divide, or multiply button. Thanks !

    • Edited by Ronald Rex Tuesday, January 8, 2019 7:55 AM
    Tuesday, January 8, 2019 7:48 AM

All replies