Question: Write a Java program named RandomChar that generates 10 random characters between 'a' and 's' inclusive and then store them in an array named charArray.

Write a Java program named RandomChar that generates 10 random characters between 'a' and 's' inclusive and then store them in an array named charArray. The program should do the following: a. Display the array charArray b. Count the number of occurrences of the character 'o' in the array charArray and then display the count. c. Replace the character 'f as 'F' in the array charArray
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
