0 votes
in JAVA by

Which class is used to read data from a file in Java?

a) File

b) FileInputStream

c) BufferedReader

d) FileReader

1 Answer

0 votes
by
Solution: b) FileInputStream

Explanation: The FileInputStream class is used to read data from a file in Java.

Related questions

0 votes
asked May 9 in JAVA by rahuljain1
0 votes
asked Aug 21, 2022 in JAVA by sharadyadav1986
...