Using the given method and implementing it.
Write a recursive method that takes two strings, str and forbidden, and removes all characters from the forbidden string from str.
CleanUp.java
1/**
* A recursive method that removes forbidden characters from a string
*/
2 public class CleanUp {
3
4 public static String clean(String str, String forbidden) {
5
6 if(forbidden.contains(first)) {
7 return ;
8 }
9 else {
10 return ;
11 }
12 }
13 }