Select the action of the method long seek()?

a) Attempts to readup to count bytes into buffer starting at buffer[offset]
b) Writes a single byte to an output stream
c) Sets the current position in the stream to the specified offset from specified origin and hence returns the new position
d) None of the mentioned

1 thought on “Select the action of the method long seek()?”

  1. c
    Explanation:
    long Seek(long offset, SeekOrigin origin)
    Sets the current position in the stream to the specified offset from the specified origin. It returns the new position.

Leave a Comment