DEV Community

Discussion on: Coding Concepts - Generics

Collapse
 
markosbg profile image
markosbg

One question, should there be:

newStack.pushItem(aString);

instead of:

newStack.addItem(aString);

in all examples above:)

Cheers,

Collapse
 
chris_bertrand profile image
Chris Bertrand

You're very much correct Mark. Have updated the post. Thanks for taking the time to read it!

Collapse
 
markosbg profile image
markosbg

Thank youuu! Cheers! :)