Design a class to overload a function Calculate() given that :-
() int Calculate(int)
to calculate and return the product of the digits
present in the argument
(ii)int Calculate(int, int) to calculate and return the sum of the all the
numbers from 1st argument to the 2nd argument
(including both the parameters)
Answers
Answered by
4
Use OOPs in Java...
Similar questions