In what way is 'Watermellon', 'Bob', 'Cherry', 'Apple' a sorted list of words? It is not alphabetical by start letter, it is not by string size either, yet it is used as an example of correct output for the last task?
Note that on the task "List of number arrays", you need to add "import java.util.Arrays;" in order for the program to compile correctly because of the existing code in the printList method.
task0919 (Dividing by zero) caveat: requirement 6 (The program should display the stack trace of the caught exception.) can only be met by calling a certain system-provided function for printing the stack trace or - maybe - by exactly imitating its output format.
A scary fairy tale task uses this version:
Wolf ate granmother, then he ate red riding hood and was killed by a woodcutter.
How to work with SimpleDateFormat - read this article
GO TO FULL VERSION