Hello, I am trying to make a couple classes of a calculator for my college project. I have to make a stack class, entry class and have two enums TYPE and SYMBOL inherited to entry class. I have only included relevant code but essentially, my push method doesnt like the argument push(Entry i) and i cant work out why. i have a junit5
test for it that i'll also include, and the error i get is "The method push(Entry) in the type CalcStack is not applicable for the arguments (int)". If anyone can help i'd be over the moon! I've also included the UML if that helps