• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When to use seek?

 
abalfazl hossein
Ranch Hand
Posts: 635
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When to use seek in JAVA? for which filed?
 
Aniruddh Joshi
Ranch Hand
Posts: 275
Eclipse IDE jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its used in Random Access Files , that is when you want to look up a particular location / character in a file

 
Rob Spoor
Sheriff
Pie
Posts: 20512
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's usually only useful for binary files where you know exactly at which position a byte (or a group of bytes) will be located.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic