Question: Create a console application that will ask the user for a string and then one number. Create two files. One with the extension .txt, the

Create a console application that will ask the user for a string and then one number. Create two files. One with the extension ".txt", the other ".dat". In the file with the extension ".txt" write the string and the number entered by the user as text, and in the file ".dat" too, but as binary data. Compare the size of the two files.(java)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!