Which of the following code snippets will read the eighth byte of the file wRead.txt into the variable str?
RandomAccessFile raf=new RandomAccessFile("wRead.txt");
raf.seek(8);int str=raf.readByte();
FileInputStream fis=new FileInputStream("wRead.txt");
int str=fis.read(8);
fis.skip(8);int str=fis.read();
fis.skip(7);int str=fis.read();
Submit