Assume we have an execution called ShoutingException. Write a method called zCounter that takes in a string and returns the number of times the…
Assume we have an execution called ShoutingException. Write a method called zCounter that takes in a string and returns the number of times the letter, “Z” occurs, ignoring case. Also the method should throw a ShoutingException if an exclamation poi
Leave a Reply
Want to join the discussion?Feel free to contribute!