I HAVE WRITTEN THIS PROGRAM IN ECLLIPSE TO REVERSE A STACK BUT WHEN I RUN MY PROGRAM IT IS PRINTING EMPTY STACK.PLS CHECK MISTAKE REVERSE METHOD
introduction-to-java-collections-framework
mayankgrover261
(Mayankgrover261)
February 12, 2021, 6:40pm
#1
LINKTO THE CODE—
https://onlinegdb.com/SyGSCWN1O
pls check my mistake