aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Programming Fundamentals: Data Structures, OOP, and Java
  • Which of the following methods in Random Access Files ret...
Multiple choice

Which of the following methods in Random Access Files return the current location of the file pointer?

  1. seek()

  2. getFilePointer()

  3. length()

  4. none of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This method in Random Access Files return the current location of the file pointer.

Keep practicing — related questions

  • Which of the following functions give the current position of the file pointer?
  • Which of the following methods in Java sets the file pointer to a particular location inside the file?
  • If obj is an instance of Random Access File, how can we move the file pointer to the end of the file?
  • Which of the following functions is used to obtain the current position of the file pointer?
  • Which of the following functions is used to place the pointer at a particular position in a file?
  • Which of the following file control functions returns the current position of the file pointer on success a...
  • Which statement takes the file pointer to the beginning of the file?
  • Which of the following functions accepts file pointer as a parameter and resets the position of the file po...
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Computer File Systems (1249 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy