Question: Create a Java program that can: take a file as input, using appropriate error handling (try/catch) take keyboard input perform some type of data validation,

Create a Java program that can:

  • take a file as input, using appropriate error handling (try/catch)
  • take keyboard input
  • perform some type of data validation, for example
    • allows only a-z, A-Z, 0-9, and punctuation
    • strips out extraneous characters
  • display a message to the user

Your Java program must include the points above, and include zero syntax or runtime errors, be logically and stylistically designed, and be well documented.

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!