Question: written in java Parameter(s): A String of lower-case words separated by spaces and made up of the letters a-z. Empty strings are allowed. Return value:
written in java
Parameter(s): A String of lower-case words separated by spaces and made up of the letters a-z. Empty strings are allowed. Return value: A String of the words in camelCase form. In programming, identifiers are single words, but sometimes a phrase is more descriptive. Camel case is a way of making a phrase into a single words. The process is that the first word is lower case, and any successive word starts with a capital letter and spaces are removed. Example: camelCase("first letter in word") would return "firstLetterInWord". Note: There are ways to solve this using just String, or ways that involve a Scanner. Try solving it yourself and see if what you do matches up with one of those approaches. Note 2: You can make a single character upper or lower case with char fUpper = Character.toUpperCase('f')
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
