I'm starting to learn Java. What is the actual way of saving information of my classes, when I only run the program in the Eclipse IDE?

1 day ago 1
ARTICLE AD BOX

Sorry for the question, I'm sure it's kind of dumb, but I am really new to this world. So I'm learning Java and I use Eclipse.

I've learned the most basic things, like classes, arrays, lists, and I'm starting with HashMaps. My question is, since I'm creating projects like make a dictionary or an agenda, I need to input all the data to try all the methods and interactions, but since I only use the IDE itself and the terminal, all data is erased after. Is there a way to save all that data in this particular scenario?

Looking for it I found something called Streams and I wonder if that's the direction I should head, or something more oriented to Databases, which I wonder if it's too complicated for my level. Thanks in advance!

Read Entire Article