import java.util.*; public class Answer { public static void main (String[] param) { // TODO!!! Solutions to small problems // that do not need an independent method! // conversion double -> String // conversion String -> int // "hh:mm:ss" // cos 45 deg // table of square roots String firstString = "ABcd12"; String result = reverseCase (firstString); System.out.println ("\"" + firstString + "\" -> \"" + result + "\""); // reverse string String s = "How many words here"; int nw = countWords (s); System.out.println (s + "\t" + String.valueOf (nw)); // pause. COMMENT IT OUT BEFORE JUNIT-TESTING! final int LSIZE = 100; ArrayList randList = new ArrayList (LSIZE); Random generaator = new Random(); for (int i=0; i a is empty. */ static public > T maximum (Collection a) throws NoSuchElementException { return null; // TODO!!! Your code here } /** Counting the number of words. Any number of any kind of * whitespace symbols between words is allowed. * @param text text * @return number of words in the text */ public static int countWords (String text) { return 0; // TODO!!! Your code here } /** Case-reverse. Upper -> lower AND lower -> upper. * @param s string * @return processed string */ public static String reverseCase (String s) { return null; // TODO!!! Your code here } /** List reverse. Do not create a new list. * @param list list to reverse */ public static void reverseList (List list) throws UnsupportedOperationException { // TODO!!! Your code here } }