Question: (JAVA) Write a program that creates a two dimensional array of strings of size 3X3 , store values in the array. Write the traversal algorithm

(JAVA) Write a program that creates a two dimensional array of strings of size 3X3 , store values in the array. Write the traversal algorithm for finding a specific string in the array, pass that string and return the number of occurrences of that string in the array. If not found, return -1 ( Example, Look for string "JAVA" in the array, if string "JAVA" is stored at 2 index positions, it should return 2 )

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!