1
Answer

memory allocation exception ??

Photo of SUNIL GUTTA

SUNIL GUTTA

11y
1.6k
1
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)