When a collective noun is a subject, should the predicate be singular or plural?

When a collective noun is a subject, should the predicate be singular or plural?

The class has selected its leader. 2. The class are interested in his collection