Some people believe those under 21 serving in the military should be
allowed to drink alcohol even if non-military citizens are not. The crux
of the argument is, “if I am old enough to die for my country, I am old
enough to drink.” Still, America’s Founding Fathers clearly believed
the military, as an extension of the government, should serve the people
rather than the other way around, so, one could argue, military members
should be held, not only to the same standards as non-military
citizens, but to an even higher standard. •For the assignment this week,
write a 500-750 word paper arguing whether military personnel should or
should not receive rights and/or liberties not afforded to non-military
citizens. In the paper, include the opposing position along with your
rebuttal (of that opposing position). •For instance, if you wrote a
paper arguing that military personnel should receive rights not afforded
to non-military citizens (and why), then the rebuttal would be that
military personnel should not receive rights not afforded to
non-military citizens (and why). •Note: A rebuttal is a form of evidence
that is presented to contradict other evidence that has been presented
by an adverse party. •Include a title page, and use 3-5 references to
support your position. Only one of your references may be found online
(Wikipedia may not be one of your sources). The other references must be
found in the Grantham University online library.
1.Starting with this provided code, add the following functionality: Replace hardcoded strings “Zero”, “One”, “Two”, “Three” in the ArrayList based on user typed input (use Scanner or JOptionPane classes). The user will be prompted for the String to be stored in the ArrayList and then hit enter. The user will be able to continue to add items to the ArrayList until they just hit enter without typing anything. Once the user does this (hits enter without typing anything), the program will display all of the elements of the ArrayList, both the index and String values, in a table. It will do this via a single loop making use of an iterator method. 2. Starting with this provided code, add the following functionality: Use a Try/Catch block so that the exception is caught and the program exits a bit more gracefully. Save this file as TryCatch.java. (Be sure to rename the Public Class accordingly.) Starting with the provided code again (without the Try/Catch block), fix the code so that ...

Comments
Post a Comment