Choose one of the options below, i hope there is someone can help.

Choose ONE of the options below



focus on Java


  and one more question is 

Write a Java method remove() that takes two arguments: a String and a single character. This method should return a new String that contains all the characters from the input String without any occurrences of the specified character. For example, remove(“this is some text”, ‘s’) should return “thi i ome text”. You may assume that all input values are in lowercase.Use a loop to build up the result String, character by character. Do NOTuse the String method replace()!