/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Capitulo_4.Fraccion_old;

/**
 *
 * @author felix
 */
public class Prueba {
    static public void main(String args[]) {
        Fraccion a = new Fraccion(-3, 4);
        Fraccion b = new Fraccion(3, 2);
        Fraccion c = new Fraccion(-3, 4);
        
        System.out.println(a + " es igual a " + b + " " + a.equals(b));
        System.out.println(a + " es igual a " + c + " " + a.equals(c));
        
    }
}
