1. Create a maven project which has a class called Calculator. 2. Add below functions in the class sum(int a , int b) sub(int a, in...
1. Create a maven project which has a class called Calculator.
2. Add below functions in the class
sum(int a , int b)
sub(int a, int b)
multiply( int a, int b)
3. Call sum and multiply functions into main method
4. Add some logical error into your program with some duplicate code.
5. Analyze your code in sonarqube and reduce the errors so that your code should be in the passed state.
COMMENTS