Java Taskbook Level 9.4

Задание 1

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

Задание 2

Given some array:

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

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

Задание 3

Given a string:

javaString txt = "abcde abcde";

The variable stores the following symbols:

javaString del = "abe";

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

java"cd cd"