What is the output of the following program? Assume the file paths referenced in the class exist

Question:

What is the output of the following program? Assume the file paths referenced in the class exist and are able to be written to and read from. 

image text in transcribed

A. 1,Red

B. 2,Green

C. 2,null

D. 3,Purple

E. 4,null

F. null,null

G. None of the above.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: