How to Use "class" with Example Sentences

1. The class has elected its leader .
2. Classes are declared with the keyword class .
3. Danny had fun with his class records .
4. Herein lies the problem culture and class .
5. Why should the middle class encourage growth ?