Purchase Solution

Java and Reversal Method

Not what you're looking for?

Ask Custom Question

I have to write 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

Purchase this Solution

Solution Summary

This solution contains a java code that produces a new reversed array of the original array with a minimum item function.

Purchase this Solution


Free BrainMass Quizzes
Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Javscript Basics

Quiz on basics of javascript programming language.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.