1. Write a function:
![2021_4e9686b7-7501-4a28-9ff0-ba13d470489a.png](https://secure.tutorsglobe.com/CMSImages/2021_4e9686b7-7501-4a28-9ff0-ba13d470489a.png)
that returns the number of occurrences of the character c within the string s. Write a main class to test this method on a number of strings.
2. Write a function:
![752_ce9dc007-27e9-42e6-9d07-c23b38db5b6e.png](https://secure.tutorsglobe.com/CMSImages/752_ce9dc007-27e9-42e6-9d07-c23b38db5b6e.png)
that removes each occurrence of the character c from the string s, returning the resulting string. Write a main class to test this method on a number of strings.