Question: Using e-clipse Write an application that has methods to accomplish each of the following tasks (You may use String and Character methods): a) Check whether

 Using e-clipse Write an application that has methods to accomplish each

Using e-clipse Write an application that has methods to accomplish each of the following tasks (You may use String and Character methods): a) Check whether the string is terminated by a full stop, and if not, add a full stop. b) Check whether the string starts with a capital letter, and if not, capitalize the first letter. c) Use the methods developed in parts (a) and (b) and to write a method beautifyString that receives a string from the user, and then calls the methods in (a) and (b) to make sure that the string is properly formatted, in other words, the string has a full stop at the end, and a capitalized first letter. Make sure you output the string after it has been beautified! (Ctrl)

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!