✏️ Explanatory Question

Can we open an existing file for writing? If not, why?

👁 1 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

Yes; however, by default, the output streams will overwrite existing contents unless the "append" boolean is set to true in the constructor.