#include "concreteclass.hh"
#include <iostream>
ConcreteClass::ConcreteClass(int nn)
{
    n = nn;
}
void ConcreteClass::eat()
{
    n = n - 1;
    std::cout << "Eating 1 n now is " << n << std::endl;
}
void ConcreteClass::speak()
{
    std::cout << "n is " << n << std::endl;
}
ConcreteClass::~ConcreteClass()
{
    std::cout << "destroyed" << std::endl;
}
