Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program that will check a Java file for syntax errors. The program will ask for an in file name and output-file name and
Write a program that will check a Java file for syntax errors. The program will ask for an in file name and output-file name and will then copy all the code from the Java input file to the Java output file, but with the following changes: put- Any syntax error found in the Java input file will be corrected: o Missing compound statements (curly braces) o All comments have to start with// and end with a period Four spaces should be used as the unit of indentation. Tabs must be set exactly every 8 spaces (not 4). . You program should have a simple GUI (Graphical User Interface). Use ArrayList or LinkedList class to solve the problem. Thoroughly test your code for any possible input. Do not hardwire the output. Write a program that will check a Java file for syntax errors. The program will ask for an in file name and output-file name and will then copy all the code from the Java input file to the Java output file, but with the following changes: put- Any syntax error found in the Java input file will be corrected: o Missing compound statements (curly braces) o All comments have to start with// and end with a period Four spaces should be used as the unit of indentation. Tabs must be set exactly every 8 spaces (not 4). . You program should have a simple GUI (Graphical User Interface). Use ArrayList or LinkedList class to solve the problem. Thoroughly test your code for any possible input. Do not hardwire the output
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started