Design a program named Array2DPrint.java and implement the method specified below: public static void print(int arr)This method prints the elements in a N x N two dimensional integer array as shown below:————-| X | O | |————-| O | | X |————-| | X | O |————-If the value of an element is 1, place a symbol X in its corresponding location, and O for a value of 0. For all other values, place an empty space in its location. For example, in the above sample run, the value of the element in  is 1, so X is displayed on  location. Then test your program as follows (int the main method):1. Define a 3 x 3 integer array2. Randomly assign numbers between 0 and 3, inclusive, to the elements of the array3. Call print method
We are a professional writing service that provides original papers. Our products include academic papers of varying complexity and other personalized services, along with research materials for assistance purposes only. All the materials from our website should be used with proper references.