Function Overloading on String (ICSE 2015 Question)

Design a class to overload a function Joystring() as follows: (i) void Joystring (String s, char ch1, char ch2) with one string argument and two character arguments that replaces the character argument ch1 with the character argument ch2 in the given string s and prints the new string. Example: Input value of s =”TECHNALAGY” ch1=’A’, …

Function Overloading on String (ICSE 2015 Question) Read More »