This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
In one of the interviews I went for Java development, I was asked to write code to add/Subtract/Multiply and Divide 2 numbers using OOPrinciples. We have to create classes like OO principle not just add/subtract/divide and multiply
I did design these classes and wrote something. But would reallly lie to hear from other experts on how they will design and implment this/
That sounds too serious to be a "diversion", so I shall move this thread. It doesn't mean you escape me as a mod, however.Not only object-oriented, but immutable too It is actually a very simple exercise.