Question: row at ( row , col ) : this method should return the character at row, col or null if either the row or the

row
at (row, col) : this method should return the character at row, col or null if either the row or the col
are out of bounds.
Algebraic Fraction
The perpose of AlgebraicFraction is to have an Object based version of a fraction so that you could represent
Objects with a fractional relationship. An example would be abcd. An algebraic fraction should be reduced during it's
construction, so if the numerator were abc and the denominator was cd, then the c in the numerator and the c in
the denominator would cancel, and the fraction would become abd.
AlgebraicFraction
#numerator: ArrayList
#numerator: ArrayList
#numerator: ArrayList
#numerator: ArrayList
#numerator: ArrayList
\leftrightarrow
\square
Class description
AlgebraicFraction - an object for holding abstract fractional representations.
fields
numerator: an ArrayList of each numerator component
denominator: an ArrayList of each denominator component
methods
AlgebraicFraction(num, denom) : The values of each cell of the num array should be put in to the
row at ( row , col ) : this method should return

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 Programming Questions!