Answer 12: Changing the Code Again

 
    public Fraction square() {
        return getFraction(numerator*numerator, denominator*denominator);
    }

Previous | Next | Top | Cafe con Leche | Cafe au Lait

Copyright 2005 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified November 11, 2005