hi all. I have just started learning java after C + +. but so far nothing is clear. especially the work with classes.
tell me please how to open a file for reading or writing? it is desirable to provide the code completely.
Thanks. sorry for bad english.
upd: I started to learn java hour ago, but has not yet written a working program.
Thank you all for your answers!