25 of 100 menu

Java Taskbook Level 3.5

Given a text with words. Write into an array all words that begin with the letter "a".

Given an array of numbers, check that all elements of this array are positive numbers.

Given a string:

"1203405"

Find the position of the last zero in the string.

Two arrays are given:

int[] arr1 = [1, 2, 3, 4, 5]; int[] arr2 = [4, 5, 6, 7, 8];

Print the common elements of these arrays to the console:

4 5

Given a line:

String str = "abc def jhi";

Count the number of words in this line.

enru