Reverse stack using recursion

i dont know what error is coming.

@Sumant123,
In the recursion function declaration, write Stack<Integer> s1. You have not declared the stack type, hence the error.

https://ide.codingblocks.com/s/255217 corrected code

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.