(String[] args)
| 30 | |
| 31 | //print out the origin lists, and then the changed lists |
| 32 | public static void main(String[] args) { |
| 33 | System.out.println("The unsorted array is: " |
| 34 | + numbers); |
| 35 | |
| 36 | System.out.println("The sorted array is: " |
| 37 | + numbers.stream().sorted().toList()); |
| 38 | |
| 39 | System.out.println("All numbers in the list greater than 10: " |
| 40 | + findAllNumbersGreaterThanTen(numbers)); |
| 41 | |
| 42 | System.out.println(); |
| 43 | |
| 44 | System.out.println("A list of words: " + words); |
| 45 | System.out.println("All words in the list that contain the letter A: " |
| 46 | + findAllWordsThatContainLetterA(words)); |
| 47 | } |
| 48 | } |
nothing calls this directly
no test coverage detected