Can u plz give variable description for the program Design a class to overload a function compare ( ) as follows (a) void compare (int, int) – to compare two integer values and print the greater of the two integers. (b) void compare (char, char) – to compare the numeric value of two character with higher numeric value (c) void compare (String, String) – to compare the length of the two strings and print the longer of the two.
Answers
Answered by
2
variable a value equals 20
Similar questions
Social Sciences,
4 months ago
Math,
4 months ago
English,
10 months ago
Computer Science,
10 months ago