Write a Java application that reads a command-line specified text file containing a list of terms, one per line, and then removes all duplicates (ignoring case) and writes to a new file called "out.txt". Call your test class "WordTest". So for example, if the input file is called "in.txt" and looks like this:

COMS W1004
programming
Programming
COMS W1004
java
is
fun

Then typing $>WordTest in.txt at the prompt should generate a new file named out.txt the looks like this:

COMS W1004
programming
java
is
fun
Academic Honesty!
It is not our intention to break the school's academic policy. Projects posted are only used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly fill out the form. Please provide a valid email address and we'll get back to you in less than 24 hours. We will be sending an invoice through PayPal upon confirmation. We are a non profit organization however we need an amount to keep this organization running, and to be able to complete our research and development.