Choose ONE of the options below
Save your time - order a paper!
Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlinesOrder Paper Now
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()!