Solved

Which of the Following Statements Enables You to Write Output

Question 71

Multiple Choice

Which of the following statements enables you to write output to a text file?


A) PrintWriter out = new PrintWriter() ;
B) PrintWriter out = new PrintWriter("output.txt") ;
C) FileReader reader = new FileReader("input.txt") ;
D) Scanner in = new Scanner(reader) ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions