Question: Write an original Java class with three methods that each take a string and return an int. One method counts the digits, one counts the
Write an original Java class with three methods that each take a string and return an int. One method counts the digits, one counts the letters (upper and lower case), and one counts everything else (spaces, punctuation, etc.). No methods cause I/O. Include complete JavaDoc. Add a JUnit class to test each method using the 12-character string, "Hello world!"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
