Question: In STS, write a program that defines an interface having the following methods: addition, subtraction, multiplication, and division. Create a class that implements this interface
In STS, write a program that defines an interface having the following methods: addition, subtraction, multiplication, and division. Create a class that implements this interface and provides appropriate functionality to carry out the required operations. Hard code two operands in a test class having a main method that calls the implementing class. Please specify which code goes into separate class tabs and use comments liberally.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
