Home
Site Map Useful Tools Graphing Calc Scientific Calculator 
Class Relationships involving interfaces and Abstract ClassesThe classes below represent different ways of representing mathematical concepts like MathExpressions, Fractions etc. and they all implement the Mathable interface. These classes are a simplified form of interfaces I used in making the following games: fraction game, like terms gameand then separately in these three games fraction game 1, fraction game 2, like terms game. It actually might be helpful you to play these games to understand the idea behind this interface. public abstract class GraphicalMathObjectmethods
public class Fraction extends GraphicalMathObjectThis class is used to represent Fractions Instance Variables
public class MathExpression extends GraphicalMathObject implements MathableThis is a class that is used to represent mathematical expressions like 3x^{2}or 5x^{2}y^{2} . It contains the methods and variables described below and it must implement MathableInstance Variables
Constructor : we will have 1 constructor with no para maters
Interface : Mathable
Runner class coming soon
