I want to know how to write the code in Visual Studio Code. This is…

QuestionAnswered step-by-stepI want to know how to write the code in Visual Studio Code. This is…I want to know how to write the code in Visual Studio Code.This is my request.Image transcription textTasks 1. AdjList . This Java class will take two command line arguments in the followingorder: an adjacenty list input file name and an output file name. . The input file will beformatted as follows: . An integer a (the number of courses) . a lines, each… Show moreThese are java file that I need write the code in. AdjList.javapackage prereqchecker; /** * Steps to implement this class main method: * * Step 1: * AdjListInputFile name is passed through the command line as args[0] * Read from AdjListInputFile with the format: * 1. a (int): number of courses in the graph * 2. a lines, each with 1 course ID * 3. b (int): number of edges in the graph * 4. b lines, each with a source ID * * Step 2: * AdjListOutputFile name is passed through the command line as args[1] * Output to AdjListOutputFile with the format: * 1. c lines, each starting with a different course ID, then *    listing all of that course’s prerequisites (space separated) */public class AdjList {    public static void main(String[] args) {         if ( args.length < 2 ) {            StdOut.println("Execute: java -cp bin prereqchecker.AdjList “);            return;        }     // WRITE  CODE HERE    }} Eligible.javapackage prereqchecker; import java.util.*; /** * * Steps to implement this class main method: * * Step 1: * AdjListInputFile name is passed through the command line as args[0] * Read from AdjListInputFile with the format: * 1. a (int): number of courses in the graph * 2. a lines, each with 1 course ID * 3. b (int): number of edges in the graph * 4. b lines, each with a source ID * * Step 2: * EligibleInputFile name is passed through the command line as args[1] * Read from EligibleInputFile with the format: * 1. c (int): Number of courses * 2. c lines, each with 1 course ID * * Step 3: * EligibleOutputFile name is passed through the command line as args[2] * Output to EligibleOutputFile with the format: * 1. Some number of lines, each with one course ID */public class Eligible {    public static void main(String[] args) {         if ( args.length < 3 ) {            StdOut.println("Execute: java -cp bin prereqchecker.Eligible “);            return;        }     // WRITE  CODE HERE    }} NeedtoTake.javapackage prereqchecker; import java.util.*; /** * Steps to implement this class main method: * * Step 1: * AdjListInputFile name is passed through the command line as args[0] * Read from AdjListInputFile with the format: * 1. a (int): number of courses in the graph * 2. a lines, each with 1 course ID * 3. b (int): number of edges in the graph * 4. b lines, each with a source ID * * Step 2: * NeedToTakeInputFile name is passed through the command line as args[1] * Read from NeedToTakeInputFile with the format: * 1. One line, containing a course ID * 2. c (int): Number of courses * 3. c lines, each with one course ID * * Step 3: * NeedToTakeOutputFile name is passed through the command line as args[2] * Output to NeedToTakeOutputFile with the format: * 1. Some number of lines, each with one course ID */public class NeedToTake {    public static void main(String[] args) {         if ( args.length < 3 ) {            StdOut.println("Execute: java NeedToTake “);            return;        }     // WRITE  CODE HERE    }} SchedulePlan.javapackage prereqchecker; import java.util.*; /** * Steps to implement this class main method: * * Step 1: * AdjListInputFile name is passed through the command line as args[0] * Read from AdjListInputFile with the format: * 1. a (int): number of courses in the graph * 2. a lines, each with 1 course ID * 3. b (int): number of edges in the graph * 4. b lines, each with a source ID * * Step 2: * SchedulePlanInputFile name is passed through the command line as args[1] * Read from SchedulePlanInputFile with the format: * 1. One line containing a course ID * 2. c (int): number of courses * 3. c lines, each with one course ID * * Step 3: * SchedulePlanOutputFile name is passed through the command line as args[2] * Output to SchedulePlanOutputFile with the format: * 1. One line containing an int c, the number of semesters required to take the course * 2. c lines, each with space separated course ID’s */public class SchedulePlan {    public static void main(String[] args) {         if ( args.length < 3 ) {            StdOut.println("Execute: java -cp bin prereqchecker.SchedulePlan “);            return;        }     // WRITE CODE HERE     }}  ValidPrereq.javapackage prereqchecker; /** * Steps to implement this class main method: * * Step 1: * AdjListInputFile name is passed through the command line as args[0] * Read from AdjListInputFile with the format: * 1. a (int): number of courses in the graph * 2. a lines, each with 1 course ID * 3. b (int): number of edges in the graph * 4. b lines, each with a source ID * * Step 2: * ValidPreReqInputFile name is passed through the command line as args[1] * Read from ValidPreReqInputFile with the format: * 1. 1 line containing the proposed advanced course * 2. 1 line containing the proposed prereq to the advanced course * * Step 3: * ValidPreReqOutputFile name is passed through the command line as args[2] * Output to ValidPreReqOutputFile with the format: * 1. 1 line, containing either the word “YES” or “NO” */public class ValidPrereq {    public static void main(String[] args) {         if ( args.length < 3 ) {            StdOut.println("Execute: java -cp bin prereqchecker.ValidPrereq “);            return;        }    // WRITE  CODE HERE    }}  These are txt files  that test will needadjlist.in23cs111cs213cs323cs112cs417cs344cs416cs437cs415cs206mat152cs452cs314cs336cs211cs214cs352mat151cs440cs210cs439cs205mat25029cs112 cs111cs112 mat151mat152 mat151cs213 cs112cs205 cs111cs205 mat152cs210 cs111cs211 cs112cs214 cs211mat250 mat152cs206 cs205cs336 cs112cs336 cs205cs344 cs206cs344 cs112cs439 cs205cs314 cs211cs314 cs205cs323 mat250cs352 cs206cs352 cs211cs415 cs211cs415 cs314cs416 cs214cs417 cs416cs437 cs336cs437 cs214cs440 cs205cs452 cs344  eligible.in needtotake.in  scheduleplan.in  validprereq.in Computer ScienceEngineering & TechnologyJava ProgrammingDATA STRUC CS112Share Question