The 'flush()' method in Java file handling is used to:
Force any buffered data to be written to the file
Delete the file
Overlook minor misbehaviors
Impose harsh punishments for any infraction

Software Engineering Exercises are loading ...