Stack Operation In Java Using Array To Solve