Question: (4) Strings and Characters (5 points) Write a method countStar that accepts a string of any size/length and then returns the number of that are
(4) Strings and Characters (5 points) Write a method countStar that accepts a string of any size/length and then returns the number of that are found. For example, the call of countStar("Hello) o would return O countstar("*Goodbye**" o would return 4 public static
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
