Java Code:

write a java program that accepts a word from a user via standard input, then concurrently

checks to see:

a. If the word is in a file called "donotuse.txt"

1. when found the program outputs "found in donotuse.txt"

2. When not found program outputs "not found in donotuse.txt"

b. If the word starts with the letter "a"

1. when true the program outputs "starts with an A"

2. when false the program outputs "does not start with an A"

including your initials on all user defined variables. (My initials are ZK)

Q&A Education