class bottle { static bottle *top; bottle *next; int index; public: bottle(int n); ~bottle(); void sing(); static bottle *pop(); };