Question: JAVA Please adjust my code to get the describtion below work: For this boolean, if I input Hello.World it need to output as Invalid Phrase,
JAVA
Please adjust my code to get the describtion below work:
For this boolean, if I input "Hello.World" it need to output as Invalid Phrase, but when I input "Hello. World" it will return true.
Which means I need this boolean to be true for a period with space ". " but be false when just period "." occurs
public class PhraseAnalyzer f
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
