He's a friend from my class.

Literal

I [of-の] class [of-の] friend is [emphasis-よ].

Subject omitted — context introduces 'he/she/they' as the friend. A simple identification sentence: [topic/subject omitted] [predicate]. Used when introducing or identifying someone to a third party. The だよ ending is plain-form copula + the emphatic よ.