import java.io.*; class Program01 { public static void main(String args[]) throws IOException{ System.out.println("Hi"); RandomAccessFile file = new RandomAccessFile("adat.txt", "rw"); file.seek(12); file.write("Hello World".getBytes()); file.close(); } }