这句话里的whom的用法,是代替先行词 students 引导定语从句 并作从句中介词of 的宾语
如果代替的是物就应该用which 作介词宾语.
但 that 和who没有有这种用法.它俩作为关系代词 是不能作介词宾语的.
这里的whom是指代了前面的the students.
在从句中 把whom 还原成the studnets 完全说得通.
假如是并列句 就是 ,and most of the students are boys.当然 用them代替the students最好.
这么理the most of the students are boys ...就通了.