hello. i have compile this program bt it contain 1 error. error is on the line Stack stack=new Stack(); class file contain wrong class:stack. plzz defile it. another question is that can we extend sinmgal class from itself? if yes or no than give reason? i will be wait for reply. plzzzzzzzzzz reply me mustttttttttttt.