Which method can be used to create an output object for file temp.txt?

a. new PrintWriter("temp.txt")
b. new PrintWriter(temp.txt)
c. new PrintWriter(new File("temp.txt"))
d. new PrintWriter(File("temp.txt"))

ac

Computer Science & Information Technology

You might also like to view...

Press [Ctrl] while dragging the line shape to draw a straight line

Indicate whether the statement is true or false

Computer Science & Information Technology

You can _____ multiple worksheets to enter data or apply formatting to all of the worksheets at the same time.

A. preview B. ungroup C. link D. group

Computer Science & Information Technology