We are being asked to declare a variable, thus, we can use "PrintWriter" that is suitable for referring to an object that provides methods for writing to a text file.
On how to use it, we can define it such as
Output.printIn ="hi";
output.close;
I believe it is D because the allies weren't formed yet before war broke out but when it did, that's when the allies were formed.