Create a java program method named reversal


Discussion:

Q: Create a Java program method named reversal that returns a new array that is a reversal of the original array.

Use [5.0, 4.4, 1.9, 2.9, 3.4, 3.5] to test the method.

Also, the reversal method is to send the minimum item of the array.

Output Sample:

Original Array is: 5.0 4.4 1.9 2.9 3.4 3.5
The Reversal is: 3.5 3.4 2.9 1.9 4.4 5.0
The Minimum item: 1.9

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Create a java program method named reversal
Reference No:- TGS01931904

Now Priced at $20 (50% Discount)

Recommended (92%)

Rated (4.4/5)