The seek() method is used to ___

68. The seek() method is used to ___.

  1. Saves the file in secondary storage
  2. Position the file object at a particular position in a file
  3. Deletes the file form secondary storage
  4. None of the mentioned above

Answer: B) Position the file object at a particular position in a file

Explanation:

The seek() method is used to position a file object at a specific location within a file's hierarchy.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.