Challenge 5: Implement a Calculator Class
In this exercise, you have to implement a calculator which can perform addition, subtraction, multiplication, and division.
We'll cover the following...
We'll cover the following...
Problem Statement
Write a Java class called Calculator with
-
privatefields:num1andnum2(double type)
And methods:
-
add(), a method ...