It can, but like Junky and I said the java.util.Stack class does not contain this method ( Stack (Java Platform SE 6) ), and this is where the exception is being thrown - from a call to pop on a...
Type: Posts; User: copeg
It can, but like Junky and I said the java.util.Stack class does not contain this method ( Stack (Java Platform SE 6) ), and this is where the exception is being thrown - from a call to pop on a...
The exception provides a lot of information - you are trying to pop a stack that is empty.
The Stack class does not contain an isFull method, and implementing one would not solve your problem. A...