Create a base class of ExpressionToken and have NumberToken and OperatorToken extend it. Parameterize the ArrayList as a list of ExpressionTokens.
solved Create array list with mixed types in Java [closed]
Create a base class of ExpressionToken and have NumberToken and OperatorToken extend it. Parameterize the ArrayList as a list of ExpressionTokens.
solved Create array list with mixed types in Java [closed]