I'm using a
circular array to implement a
drop-out stack, but I've found some problems that made me crazy. Here is my code, and I hope someone could help me out. I wonder how to make the
size() and
isEmpty() methods. If possible, I also want to know how to make the
toString() method. Thanks in advance. BTW, I'm from China and I'm not very good at English. So maybe I used some english words wrongly.
Hope someone can help me. Thanks a million.