Question: Given the String class and the Character class as ahown in the following UML, write a program to perform the following taaka. (15pta) (1). Read

 Given the String class and the Character class as ahown in

Given the String class and the Character class as ahown in the following UML, write a program to perform the following taaka. (15pta) (1). Read a atring from the console. (2). Count the number of each letter ('a' - ' z ) in the atring, ignoring the casea. (3). Display the regults to the console. Retums the number of characters in this string. Retums the character at the specified index from this string. Retums anew string that concatenate this string with string s1. Constructs a character object with clar value Returns the char value from this object Compens this character with another Reharns true if this chanacher equals to anether Rotums tne if the pecified character is a digit Retums true if the socified character is a letter Returns true if the characier is a letter or a digit Retarns tne if the characier is a lowesase latier Retams true if the characier it an oppercate latber Rotums the lowercase of the apecifind chanacier Returns the uprerase of the apecifid characine

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!