The correct option is B There are 6 classes with the below frequencies.
{2, 20, 25, 17, 19, 22}
We know that extreme values in the data affect the mean. Here only for the data set {2, 20, 25, 17, 19, 22}, we find the extreme value as one class has the frequency as 2 and the others have frequency 20, 25, 17, 19 and 22.