This preview shows page 1. Sign up to view the full content.
Unformatted text preview: the mid character in the string to a capital Z then the following method will allow you to change a character in the StringBuffer at a certain index position. setCharAt(indexPos, character); 4. Write a program that will get 2 strings from the user and then report back to the user if these strings are equal or not. Case matters. 5. Now write a program that given a string from the user will report back to the user how many Upper case characters are in the string. Remember that you can check a character at index position x by using the charAt(indexPos) method....
View Full Document
This note was uploaded on 05/25/2010 for the course CPE CPE 360 taught by Professor Jenniferchen during the Spring '10 term at Stevens.
- Spring '10