Computer Science, asked by jyotsnakapare4, 6 months ago

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 GarvitNagpal26
4

Use OOPs in Java...

             

Similar questions