Question: JAVA PROGRAMMING Write a class CountGreaterThanTen that does the following The main method does the following a. Requests from the user the dimensions for a
JAVA PROGRAMMING

Write a class CountGreaterThanTen that does the following The main method does the following a. Requests from the user the dimensions for a two dimensional array b. Calls the method createArray to create a two-dimensional integer array c. Calls a method fullArray with a reference to the array created by createArray d. Calls a method called greaterTen with a reference to the array created by createArray e. Prints out the final elements of the two-dimensional array row by row f. The main method then prints out the final values in the array and a final sentence stating: It is (truelfalse) that there are more entries in the array greater than ten than less than or equal to ten. createArray does the following a. Accepts the dimensions of a two dimensional int array as parameters b. Creates a two-dimensional int array using the input parameters. c. Returns a reference to the array that was created. fullArray does the following: a. Has a two-dimensional int array as its formal parameter b. Fills a two-dimensional int array with random integers from 1 to 20 greaterTen does the following a. Has a two-dimensional int array as its formal parameter It then counts the number of entries greater than ten and returns true if there are more numbers greater than ten in the array. Otherwise it returns false Please enter the rows and columns in a dimensional integer array: 4 5 1 10 20 8 16 7 14 9 13 2 7 20 12 9 6 1 7 15 18 1 It is false that there are more entries in the array greater than ten t han less than or equal to ten. Please enter the rows and columns in a dimensional integer array: 5 3 2 13 11 10 3 15 13 19 12 12 6 7 10 13 1 It is true that there are more entries in the array greater than ten than less than or equal to ten
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
