Skip to content

Instantly share code, notes, and snippets.

@ezragol
ezragol / Fraction2.java
Created December 11, 2022 20:02
fraction codecheck v2
/*
* The Fraction class from http://skylit.com/javamethods3/studentfiles.zip
* where the following are also implemented:
* - all methods of FractionI;
*
* JM3e Chapter 10.3 - Author: Alex
* @author EZRA GOLDNER <24goldnere@brooklinek12.org>
*/
public class Fraction implements FractionI, Comparable<Fraction>
@ezragol
ezragol / Fraction1.java
Created December 11, 2022 20:01
codecheck fraction v1
/*
* The Fraction class from http://skylit.com/javamethods3/studentfiles.zip
* where the following are also implemented:
* - all methods of FractionI;
*
* JM3e Chapter 10.3 - Author: Alex
* @author EZRA GOLDNER <24goldnere@brooklinek12.org>
*/
public class Fraction implements FractionI /*, Comparable<Fraction> */