Strings and command-line arguments. Write a program HelloGoodbye.java that takes two names as command-line arguments and prints hello and goodbye messages as shown below (with the names for the hello message in the same order as the command-line arguments and with the names for the goodbye message in reverse order).

I can pretty much guarantee that no matter what kind of programming task you have to do, someone has posted a code snippet online that will do just what you want.