Question: Create a java method with the signature -s firstLetterToupperCase(String pString):String that recieves a String as an arguement ans returns the string with the first letter

Create a java method with the signature -s firstLetterToupperCase(String pString):String that recieves a String as an arguement ans returns the string with the first letter of all "words" in the string now in uppercase. Hint: the scanner class can take a string as an argument and then use scanner method .next () to get each "word" in the string. Use .hasNext() to check to see if there is another "word"
example:
This is my 1 sentence.
would be returned as:
This is My 1 Sentence.

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!