I've just recently taken to trying to learn Java, and I've been reading up on some books and viewing the pages and pages of documentation. I've been programming in C for 10+ years now and I know the pitfalls of developing bad habits when learning something new, so I'm hoping the Java experts here can help guide me in the ways I'm doing things wrong, how to do things better, and hopefully explain some of the inner workings of Java.
Anyway, I've been working on creating some simple Java programs trying to gain familiarity with the language, and with regards to writing to a file, I'm curious as the best way to go about it?
This is what I wrote up.
Any significant blemishes here?
Anyway, I've been working on creating some simple Java programs trying to gain familiarity with the language, and with regards to writing to a file, I'm curious as the best way to go about it?
This is what I wrote up.
Any significant blemishes here?