package hatelace; public abstract class Word { public abstract Integer getValue(); public abstract Word add(Word other); public abstract Word subtract(Word other); public abstract Word multiply(Word other); public abstract Word divide(Word other); public abstract String toString(); public abstract boolean equals(Object other); }