I was recently started to learn Java (3 months back started), It's going well, learned a lot.
I am reffering this website to undersatand about Java Stack Class.
Can someone tell me which method is best to implement stack class?
Happy Coding!
According to https://www.geeksforgeeks.org/stack-data-structure-introduction-program/ there are two ways. I tend to not overthink this sort of work so "best" would be what method works and I can maintain for years to come.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.