Бесплатный курс лекций по Python
Начало 11 декабря. Расписание: пн, чт в 20.15-21.00. Для записи вступи в канал →
84 of 100 menu

Java Taskbook Level 9.4

Given a file. Read its text and find the most frequently occurring word in this text.

Given some array:

int[] arr = {1, 2, 3, 4, 5, 6, 7};

Find the array element whose value is closest to the array mean.

Given a string:

String txt = "abcde abcde";

The variable stores the following symbols:

String del = "abe";

Remove all the characters specified in the variable from the string. In our case, we should get the following:

"cd cd"
hyencsrohu