I Am Middle Building Guijava Stack I Would Know If How Do I

I am in middle of building a GUI(Java) for a stack. I would like to know if how do I keep the numbers in the stack so it will be calculated. For ex: lets say I push 1 then 2 then I add them I get 3. Now i would like to push 4 and then add that so I get 7.


Study Cred Tutor

4.6 (24k+)

Purchase the answer to view it



Click one of our contacts below to chat on WhatsApp

× How can I help you?