Question: Could someone help me with these Java based Computer Science questions, please? Thank you! *Please modify my Java code, and provide your own code as

Could someone help me with these Java based Computer Science questions, please? Thank you!

*Please modify my Java code, and provide your own code as each question requires. Feel free to include your own code and general concepts in order to solve these problems, even if they go beyond the minimal code provided, if that would help, thank you very much!

----

I apologize if I didn't phrase things properly or if the questions are long. I thought that, since all of the questions relate to similar concepts, it would be prudent if they were all presented together since some questions require similar procedures and results from previous questions in order to solve them properly.

----

Please show all work, and improve any provided details as much as necessary, and also describing the necessary steps, and the necessary code and syntax would be greatly appreciated as well.

I would appreciate any help with this homework very much and thank you for your time and consideration. I hope that you have a wonderful day!

****

In Java (Review question below):

class name Exercise09_13

class name Location

****

Could someone help me with these Java based Computer Science questions, please?Thank you! *Please modify my Java code, and provide your own code

(The Location class) Design a class named Location for locating a maximal value and its location in a two-dimensional array. The class contains public data fields row, column, and maxValue that store the maximal value and its indices in a two-dimensional array with row and column as int types and maxValue as a double type. Write the following method that returns the location of the largest element in a two-dimensional array: public static Location locateLargest(double[][] a) The return value is an instance of Location. Write a test program that prompts the user to enter a two-dimensional array and displays the location of the largest element in the array. If there are more than one largest element, find the location with the smallest row index and then the smallest column index. Sample Run Enter the number of rows and columns in the array: 3 4 The largest element is 45 , located at (1,2) Class Name: Exercise09_13

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!