Question: Write a method called meanConsonants that takes an ArrayList of Strings as a parameter and returns the mean number of consonant characters, (those not equal
Write a method called meanConsonants that takes an ArrayList of Strings as a parameter and returns the mean number of consonant characters, (those not equal to a, e, i, o, u) in all Strings in the list. If your method is passed an empty ArrayList, it should return 0.0. (in Java)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
