Create and overwrite files
Hey everyone. I am very new to Java and have been reading a lot about it, but I haven't come across anything that explains what I'm looking to do.
I need to make a Java program that can create new files and overwrite existing ones. I am in the process of building an html page creator and have chosen Java as the programming platform (even though I've never programmed with it). For example I want to create files like test_page.htm, new_page.htm, etc. I also want it to overwrite those pages with new data if they already exist How is this done in Java?