Beginners question: changeable string but saving all "entries"
This is really beginners level and naive(!!!!) programming, please think simple. Learning with BlueJ (not voluntarily, that's my Prof's choice) public class WikiEntry { ... private String autor; private int version; // left out quite a bit here public void getAuthor (String newAutor) { autor = newAutor; } //another method left out that let's me change the article and adds a plus one to the int version } What I would love to do: To be able to change the Autor (that already works) but it would be awesome, if it could also safe/store/collect all the Autor Strings in a list automatically. Does that work? Like every time the Autor gets changed it creates a new entry for a list. No need to change the list or to reset or anything else. Thank you very much for your help, I really appreciate helpful answers on this probably very basic problem...