Question: In java, print the number of non-alphabetic characters, the number of spaces, and the number of uppercase alphabetic characters in the String. Do not count
In java, print the number of non-alphabetic characters, the number of spaces, and the number of uppercase alphabetic characters in the String. Do not count lowercase alphabetic characters. Make it so that it has only one method other than the main. Please explain each steps in detail if you can.
Example if input is:
Do or Do Not, There is No Try!
the output is: Please enter a one line sentence: Non-Alphabetic count: 2 Space count: 7 Uppercase count: 7
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
