Given the code fragment: What is the result when the result.txt file already exists in
c:\student?
A.
The program replaces the file contents and the file’s attributes and prints Equal.
B.
The program replaces only the file attributes and prints Not equal.
C.
The program replaces the file contents as well as the file attributes and prints Not equal.
D.
An UnsupportedOperationException is thrown at runtime.