Hello
Consider this scenario:
File file;
and later
file = new File("Hello.txt");
file = new File("hi.txt");
As you all know, this will create two text files in java. How do I delete one of these files, as in if I only wanted to delete hi.txt?