Question: Write a method called countA that accepts a String parameter and returns the number of times the character 'A' is found in the string.
Write a method called countA that accepts a String parameter and returns the number of times the character 'A' is found in the string.
Step by Step Solution
3.46 Rating (162 Votes )
There are 3 Steps involved in it
public int countA String ... View full answer
Get step-by-step solutions from verified subject matter experts
