write the code in between the program import java.io.File;import java.io.FileNotFoundException; import java.io.PrintStream;import java.util.LinkedList; //KNOWN BUG: // sometimes a concurrentmodification exception is thrown public class Kernel { privatePrintStream log; //how we log messages. private final intCYCLE_LENGTH = 10; private static final boolean debug = false;private LinkedList readyQueue; //the ready queue. privateLinkedList waitQueue; //the wait queue for the keyboard. //NOTE:should be refactored; //would add a layer of complexity to labs torefactor now though… private LinkedList hardDriveWaitQueue; //thewait queue for the HD. private LinkedList interruptQueue; //a queuefor interrupts. private int nextPID; //the next pid (starts at 1).private PCB current; //the pcb of the
Write Code Program Import Javaiofile Import Javaiofilenotfoundexception Import Javaioprint Q37059897
OR
OR