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
Get step-by-step solutions from verified subject matter experts
