Write a few lines of text to a new PrintWriter(output1.txt, UTF-8) and the same text to a

Question:

Write a few lines of text to a new PrintWriter("output1.txt", "UTF-8") and the same text to a new PrintWriter("output2.txt", "UTF-16"). How do the output files differ?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: