Design a class to overload a method large as given below : int large(int a,int b) – returns largest of 2 integers char large(char a,char b) – returns the largest character by comparing their ASCII values

computer science

Description

1.Design a class to overload a method large as given below :

    int large(int a,int b) – returns largest of 2 integers

    char large(char a,char b) – returns the largest character by comparing their ASCII values

    int large(int a[],int b[]) – returns the length of the largest array.

Write a main method to call & print the result


Related Questions in computer science category