Pregunta de entrevista de MathWorks

Onsite: Write a Java code that implement all mathematical "Fraction" operations?