Practice with arrays and ArrayLists.
ArraysListsAnd2D
project inside Eclipse.
Check out this project. Note that the "grace period"
described in HW7 also applies to the Fractions
part of this assignment. TicTacToe should be completed
by Session 9 day at 8:05 AM.FractionArrays
class) and test (by adding code to main()
in the
FractionArrays
class) the following methods./**
* Find the largest denominator from among the Fractions in the array;
* @param a array of Fractions
* @return largest denominator (0 if the array is null or empty)
*/
public static int largestDenominator(Fraction [] a)
/**
* Find and remove all occurrences of the largest fraction in a.
* The order of the remaining elements should not be changed.
* @param a an ArrayList of Fractions
*/
public static void removeLargest(ArrayList<Fraction> a)
Turn-in your programming work by committing it to your SVN repository.