Anybody can attend in this class. Means:
1-everybody can attend in this class.
2-nobody can attend in this class.
This is similar to your other question about "anybody".
Anybody means everybody.
Using anybody this way indicates that there are no restrictions whatsoever with regard to who can attend the class.