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


