1
Reply

memory allocation exception ??

SUNIL GUTTA

SUNIL GUTTA

Oct 13 2013 1:50 PM
1.2k
Hi

Define the exception class MemoryAllocationException and then revise the definition of the method push in the class LinkedStack so that it throws this exception if it cannot allocate a new node.


Ty in advance 

Answers (1)