<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

A basic calculator - Java. What am I doing wrong?

<In what way does your code behave incorrectly? Include ALL error messages.>

Calculator.java:32: error: ‘.class’ expected

myCalculator.add(int aNum, int bNum);

^

Calculator.java:32: error: ‘;’ expected

myCalculator.add(int aNum, int bNum);

^

Calculator.java:32: error: ‘;’ expected

myCalculator.add(int aNum, int bNum);

^

Calculator.java:34: error: ‘.class’ expected

myCalculator.subtract(int aNum, int bNum);

^

Calculator.java:34: error: ‘;’ expected

myCalculator.subtract(int aNum, int bNum);

^

Calculator.java:34: error: ‘;’ expected

myCalculator.subtract(int aNum, int bNum);

^

6 errors

class Calculator {

public Calculator(){

}

public void add(int aNum, int bNum){

return aNum + bNum;

}

public void subtract(int aNum, int bNum){

return aNum - bNum;

}

public void multiply(int aNum, int bNum){

return aNum * bNum;

}

public void divide(int aNum, int bNum){

if(bNum==0) {

system.out.println(“Error! Dividing by zero is not allowed.”);

return 0;

} else {

return aNum / bNum;

}

}

public void modulo(int aNum, int bNum){

if(bNum==0){

system.out.prinln(“Error! Dividing by zero is not allowed.”);

return 0;

} else {

return aNum % bNum;

}

}

public static void main(String args) {

Calculator myCalculator = new Calculator();

myCalculator.add(int aNum, int bNum);

System.out.println(myCalculator.add(5, 7));

myCalculator.subtract(int aNum, int bNum);

System.out.println(myCalculator.subtract(45, 11));

}

}

`<do not remove the three backticks above>`