Question: Please do this in JAVA: here are the instructions: Your program must meet these requirements: - The file must be named either BFSTest.java or BFSTest.py
Please do this in JAVA:
here are the instructions:
Your program must meet these requirements:
The file must be named either BFSTest.java or BFSTest.py
Your name must appear in a comment at the top of program.
The program must contain a method called BFS
It must also contain a main section. For Java, that would be the main method. For Python, that
would be code at the bottom of the program at column
The program must take as a command line parameter the name of the input file.
The program will print a line with your name and then a line with the contents of the queue as
items are pulled from it
For Java programs, do NOT put in a package directive.
For Java programs, your code must be written so that I can compile it and run it using the
command line commands:
javac BFSTest.java
java BFSTest filename
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
