Problem Statement - 08A-2017
Design a class to overload a function check( ) as follows:
(i) void check (String str , char ch ) – to find and print the frequency of a character in a string.
str = “success” number of s present is =3
ch = ‘s’
(ii) void check(String s1) – to display only vowels from string s1, after converting it to lower case.
s1 =”computer” Output : o u e
CSKC| Created: 15-Apr-2019 | Updated: 15-Apr-2019|ICSE2017