'a more interesting class' 这句话的语法是正确的。

'more interesting' 是 'interesting' 的比较级,用于比较两个或多个事物。在该句中,'a more interesting class' 表明了一个比其他课程更有趣的课程。