You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public static void main(String[] args) throws Exception
{
RandomAccessFile file = new RandomAccessFile("disk.txt","rw");
/*
Java.io.RandomAccessFile class file behaves like a large array of bytes stored in the file system. Which allows to read and write byte arrays from file