Computer Science, asked by buragohaintulshi8, 2 months ago


write a java program to overload a
methof "sum"as follows vid sum(int n): to find and display the sum of the odd digits of n
void sum(int a int b): to find and display the sum of the common factors of a and b​

Answers

Answered by Itzcupkae
0

Explanation:

\huge{\pink{\underline{\underline{Answer\implies}}}}

write a java program to overload a

methof "sum"as follows vid sum(int n): to find and display the sum of the odd digits of n

void sum(int a int b): to find and display the sum of the common factors of a and b

Answered by Sushilvardhan714
0

Explanation:

Method in a Java program resides in package.

Similar questions