39 of 100 menu

Java Taskbook Level 4.9

Given a string of letters and numbers:

String str = 'a1b2c345';

Please make sure that this line does not contain more than three letters.

Given an array:

int[10] arr;

Use a loop to fill this array with random integers between 1 and 100.

Given a string:

"abcdefg"

Remove every third character from this line. In our case, we should get the following:

"abdeg"

Given an array of month numbers:

byte[] arr = {1, 2, 8};

Write the names of these months into a new array:

String[] {"jan", "feb", "aug"}
enru