Java Taskbook Level 4.8
Given a string of letters:
String str = "Aaa Bbb Ccc';
Please make sure that this line does not contain more than two capital letters.
The date is given in the following format:
String str = "2025-12-31';
Convert this date to the following array:
String[] {"31", "12", "2025"}
There is a certain line with the words:
"aaa bbb ccc"
Capitalize the first character of each word in this line. In our case, it should look like this:
"Aaa Bbb Ccc"
Given an array of characters:
char[] arr = {'a', 'b', 'c', 'd', 'e', 'f'};
Merge these characters in pairs as strings:
String[] {"ab", "cd", "ef"}