The print member function should also be const since it does not modify the object:

class PickUp : public Truck //use public inheritance
{
...
void print() const;
};

void Pickup::print()...