Question: JAVA Method below is to determine if the input array only contains letters or comma or period. If period doesn't have a space after it

JAVA
Method below is to determine if the input array only contains letters or comma or period.
If period doesn't have a space after it then the boolean will return false.
How can I do to detect the space after it based on my code.
JAVAMethod below is to determine if the input array only contains letters

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!