Question: Write a complete Java program called ''CamelCase'' (without the quotation marks) that prompts the user with three separate prompts for three strings, then prints the

Write a complete Java program called ''CamelCase'' (without the quotation marks) that prompts the user with three separate prompts for three strings, then prints the concatenation of those strings in camel case (see Horstmann, Section 2.1.3, p. 33). Be sure your program handles strings that contain spaces. See Horstmann's Appendix D for some String methods that may prove useful.

Your output should give explanatory text that says which strings the user entered, and what the result is when you convert the strings to camel case.

So, if the user enters "CAMELs","have", and "HUMPS" your output should look *exactly* as follows.

The three strings you entered are "CAMELs", "have", and "HUMPS". Concatenating the strings and converting the result to camel case gives "camelsHaveHumps". 

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!