Q. Which is used for writing data to a file in file handling? (A) FileInputStream (B) FileOutputStream (C) Both A & B (D) None of the above ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (B) FileOutputStream