Java Taskbook Level 6.2

Задание 1

Print the name of tomorrow's day of the week.

Задание 2

Ask the user to enter a date in the format year-month-day. Check if the value entered is correct.

Задание 3

Ask the user to enter an integer via the console. Check if the value entered is correct.

Задание 4

Write a program that will generate the following string:

java"12345 54321"
Задание 5

Given some array, for example, like this:

java{1, 2, 3, 4, 5, 6}

Output to the console, one by one, the subarrays of two elements of our array:

java{1, 2}
{3, 4}
{5, 6}