Which class is used to perform file input and output operations in Java?
a) File
b) FileInputStream
c) FileOutputStream
d) FileWriter
Solution: a) File
Explanation: The File class is used to perform file input and output operations in Java.