Write a method called countA that accepts a String parameter and returns the number of times the

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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Java Software Solutions

ISBN: 9789353063610

9th Edition

Authors: John Lewis, William Loftus

Question Posted: