Rewrite Programming Exercise 6.20 using streams. Data from Programming Exercise 6.20 Write a method that counts the

Question:

Rewrite Programming Exercise 6.20 using streams.

Data from Programming Exercise 6.20

Write a method that counts the number of letters in a string using the following header:

public static  int countLetters(String s)
Write a test program that prompts the user to enter a string and displays the number of letters in the string , not counting numbers, spaces, or symbols.

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

Step by Step Answer:

Question Posted: