+ 1
I implemented Stack logic in java. Just look at my project and comment what you feel. It is very new way to apply Stack logic.
4 odpowiedzi
+ 1
Nice!
You can control errors in push and pop and use Generics (to use your Stack with any type, not only ints)
Example:
https://www.geeksforgeeks.org/how-to-implement-stack-in-java-using-array-and-generics/
0
https://www.sololearn.com/discuss/1316935/?ref=app