Question
Using NetBean and keep getting error that the Hw1_1.java can not be found. Please help. thanks Name your source code file Hw1_1.java. Write a program
Using NetBean and keep getting error that the Hw1_1.java can not be found. Please help. thanks
Name your source code file Hw1_1.java. Write a program that prompts the user for the name of a Java source code file. The program shall read the source code file and output the contents to a new file named the same as the input file, but with a .txt file name extension (e.g., if the input file is foo.java then the output file shall be named foo.java.txt). Each line of the input file shall be numbered with a line number (formatted as shown below) in the output file. For example, if the user enters Hw1_1.java as the name of the input file and Hw1_1.java contains:
Us
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