Q2) Write a program using overloading [7 MARKS]
Program should have a class with 3 overloaded methods with the name calcSumO [0.5 MARKS]
The methods should:
- Calculate and return the sum of two integer numbers [1.5 MARKS]
- Calculate and return the sum of one double and two integer numbers [1.5 MARKS]
- Calculate and return the sum of one integer and two double numbers [1.5 MARKS] [2 MARKS]
In the controlling class, create an object of the above class and call all three methods.