Computer Science, asked by anshikajassal066, 7 months ago

Question 5 Design a class to overload a function small() as follows:
(a) void small(int,int)
to compare two integer values and print the
smaller of the two integers.
(b) void small(char,char)
to compare the numeric values of two characters
and print the character with smaller numeric value.
(c) void small(String, String) to compare the length of the two strings and
Print the smaller of the two.​

Answers

Answered by VaishnaviDhepe
0

Explanation:

....................

Similar questions