Question: Base the code off of the skeleton Goal for the lab - For the lab we will be putting together the infrastructure to: read a

Base the code off of the skeleton
Goal for the lab - For the lab we will be putting together the infrastructure to: read a text file and convert it to a binary file and read a binary file and convert it to a text file - For this lab, you need to: - Create the three methods - Add statements in the main() to exit() if three commandline arguments are not provided - Add statements to verify that the first command line argument starts with a "b" or a "t" and exit() if it doesn't, outputting some error message indicating that the argument was incorrect - Add statements to determine if the first command line argument starts with a " b " or a " t " and call the appropriate method - The String class has a method, startswith(), that can be used to determine if args [0] starts with a "b" or a "t" - Begin partially implementing the two non-main methods (which will be finished off in programming assignment 2)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
