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

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *