public class Wish {

    private boolean wantCar;
    private boolean wantMotorcycle;

    // Records carWish and motorcycleWish
    public Wish(boolean carWish, boolean motorcycleWish) {
        wantCar = carWish;
        wantMotorcycle = motorcycleWish;
    }

    /* judgement returns the text:
     * It is true that your wish is NORMAL and REASONABLE!
     * or
     * It is false that your wish is NORMAL and REASONABLE!
     * The first message is returned if the wish is for
     * exactly one of the car or motorcycle, otherwise the
     * second message is returned.
     * Use (call) the method exclusiveOr to help implement this.
     */
    public String judgement() {
        return "It is " +
               booleanHelper.exclusiveOr(wantCar, wantMotorcycle) +
               " that your wish is NORMAL and REASONABLE!";
    }

}
