@@ -0,0 +1,991 @@
+package learntocode.javaapi.io_and_nio.io;%0D%0A%0D%0Aimport learntocode.javaapi.io_and_nio.FilesCreator;%0D%0A%0D%0Aimport java.io.File;%0D%0Aimport java.io.IOException;%0D%0Aimport java.io.RandomAccessFile;%0D%0A%0D%0A/**%0D%0A * RandomAccessFile allows you to jump with file pointer anywhere in file.%0D%0A */%0D%0Apublic class RandomAccessFileExample %7B%0D%0A    public static void main(String%5B%5D args) throws IOException %7B%0D%0A        File f = FilesCreator.createFilesIO()%5B0%5D;%0D%0A%0D%0A        try (RandomAccessFile randomAccessFile = new RandomAccessFile(f, %22rw%22)) %7B%0D%0A            randomAccessFile.writeChars(%22Hello, world!%22);%0D%0A%0D%0A            /* seek put a pointer to byte, specified as argument. Char is 16 bits in Java, so you should multiply%0D%0A            * number of chars skipped by 2 in this example (This may not be true for different encodings */%0D%0A            randomAccessFile.seek(7 * 2);%0D%0A            for (int i =0; i %3C 6; i++) %7B%0D%0A                System.out.print(randomAccessFile.readChar() + %22 %22);%0D%0A            %7D%0D%0A        %7D%0D%0A    %7D%0D%0A%7D%0D%0A

Add RandomAccessFile example