1. Engineering
  2. Computer Science
  3. java question...

Question: java question...

Question details


Write a Java class called Program. The class must be accessible to everyone. The class must be a Java program that uses command line arguments. The program will print (to the terminal) the number of command line arguments passed to the program at execution time It will also print each command line argument, one per line, in the reverse order that they appear in args. Any command line argument that is a word (only contains letters) must be printed capitalized (i.e., first letter in uppercase and all the rest in lowercase). Note that in the code below denotes valid code that is not shown. Also note that you must use the isWord merthod from the helper class WordCheck in your solution. 1 public class WordCheckt public static boolean isWord (String s) // returns true if s is made up of letters only, 11 returns false otherwise

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution