Computer Science, asked by sunilasingh802, 7 months ago

19. Create a class Tester with two methods Prod(), it takes two integer arguments x,y and returns
the product of x, y and another method result() to print the product of 8, 2 and 10, 24 by
invoking or calling method Prod() two times.​

Answers

Answered by ojhasweta52
1

Explanation:

int z = add_int(x+y); - We are calling 'add_int' method by passing two integers 2 and 4. And this will return 'x+y' i.e. '2+4'. So, this statement

Similar questions