...

/

Challenge 2: Implement an Interface

Challenge 2: Implement an Interface

Can you implement an interface in your class? A solution is placed in the "solution" section to help you, but we would suggest you try to solve it on your own first.

Problem Statement

You are given an interface Addition which contains a method signature int add(int num1, int num2). You need to write a class called Calculator which implements ...