Question: Question1 Consider the following character array declaration: char lc'ABCAXAK3 5 Marks :517h Write a piece of Java code which will count the occurrence number of

Question1 Consider the following character array declaration: char lc'ABCAXAK3 5 Marks :517h Write a piece of Java code which will count the occurrence number of letter a or A present in the array, the occurrence number of digit, and displays the result. You only need to write the code to do this not a whole class, also you should use a loop for this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
