In this case, the type of class interval is inclusive so lower and upper limit of a class interval belongs to that class interval. In the case of exclusive class interval, the upper limit is not included in the class.
So a person age 30 will belong to the 3rd class interval (21 - 30).