Question: two Caculator class in java program , please help feel in public class WeekCChallenge { public static void main(String[] args){ //1. create a new instance

two Caculator class in java program , please help feel in

public class WeekCChallenge {

public static void main(String[] args){

//1. create a new instance of the Calculator class

Operation Class operationObject = new OperationClass(); //2. call each of Calculator's instance methods: add, subtract, multiply, and divide // with arguments of your choice, assigning the result to the variables below

double additionResult; double subtractionResult; double multiplicationResult; double divisionResult;

//3. print the value of each of these variables to the console with a descriptive message

//4. implement the static fizzBuzz method in this class and call it from the main method }

public static void fizzBuzz(int m, int n, int[] numbers, String[] terms){

} }

public class Calculator {

public double add(double arg0, double arg1) { return 0.0; }

public double subtract(double arg0, double arg1) { return 0.0; }

public double multiply(double arg0, double arg1) { return 0.0; }

public double divide(double arg0, double arg1) { return 0.0; } }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!