#ifndef _SINGLY_NODE #define _SINGLY_NODE #include class SinglyLinkedNode : public Node { public: SinglyLinkedNode(); SinglyLinkedNode(int); virtual Node *copy(); void setNext(Node *); Node *getNext(); ~SinglyLinkedNode(); private: Node *next; }; #endif