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

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

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!