How would the return type change


Problem

Run the following program which contains a method called findLetter that takes a letter and a text 38 parameters and uses a loop to see If that letter is In the text and returns true If It le, false otherwise. Set the variables letter and message to new values In the main method and run It again to try finding a different letter. Then, change the code of the find Letter method to return how many times It finds letter In text, using a new variable called count. How would the return type change?

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: How would the return type change
Reference No:- TGS03332439

Expected delivery within 24 Hours