Computer Science, asked by Vrushika1394, 10 months ago

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 shreyanshverma0607
2

variable a value equals 20

Similar questions