a java class, Arrays2DTest,

In this assignment, it is required to write a java class, Arrays2DTest, in which you have to create the following methods:

• public static int max(int[][] a)that returns the maximum value in the 2d parameter array a.

• public static int rowSum(int[][] a, int x)that returns the sum of the elements in Row x of a.

• public static int columnSum(int[][] a, int x)that returns the sum of the elements in Column x of a (careful with rows of different lengths!).

• public static int[] allRowSums(int[][] a)that calculates the row sum for every row and returns each of the values in an array. Index i of the return array contains the sum of elements in row i.

• public static boolean isRowMagic(int[][] a)that checks if the array is row-magic (this means that every row has the same row sum).

• public static boolean isColumnMagic(int[][] a)that checks if the array is column-magic (this means that every column has the same column sum).

• public static boolean isSquare(int[][] a)that checks if the array is square (i.e. every row has the same length as a itself).

• public static boolean isMagic(int[][] a)that checks if the array is a magic square. This means that it must be square, and that all row sums, all column sums, and the two diagonal-sums must all be equal.

• A main method, in which you do the following:a) Create one or two 2D arrays of integers.b) Invoke the previous methods to print out the sum per row and per column, and to find out if the array is magic.

Calculate the price of your order

Simple Order Process

Fill in the Order Form

Share all the assignment information. Including the instructions, provided reading materials, grading rubric, number of pages, the required formatting, deadline, and your academic level. Provide any information and announcements shared by the professor. Choose your preferred writer if you have one.

Get Your Order Assigned

Once we receive your order form, we will select the best writer from our pool of experts to fit your assignment.

Share More Data if Needed

You will receive a confirmation email when a writer has been assigned your task. The writer may contact you if they need any additional information or clarifications regarding your task

Let Our Essay Writer Do Their Job

Once you entrust us with your academic task, our skilled writers embark on creating your paper entirely from the ground up. Through rigorous research and unwavering commitment to your guidelines, our experts meticulously craft every aspect of your paper. Our process ensures that your essay is not only original but also aligned with your specific requirements, making certain that the final piece surpasses your expectations.

Quality Checks and Proofreading

Upon the completion of your paper, it undergoes a meticulous review by our dedicated Quality and Proofreading department. This crucial step ensures not only the originality of the content but also its alignment with the highest academic standards. Our seasoned experts conduct thorough checks, meticulously examining every facet of your paper, including grammar, structure, coherence, and proper citation. This comprehensive review process guarantees that the final product you receive not only meets our stringent quality benchmarks but also reflects your dedication to academic excellence.

Review and Download the Final Draft

If you find that any part of the paper does not meet the initial instructions, send it back to us with your feedback, and we will make the necessary adjustments.