1) When the teacher gets in the classroom, for example, what does she/he say? (answer:同学们好)
2) The teacher talking about her/his students : 我的学生们 would be right? (answer: right. But 我的学生 is better)
3) When I approach a group of friends, is it better to say同学们好 or 学生们好?(answer: 同学们好)
同学们:students who study together. (although teachers teach students, but usually, teachers are humble to say “let’s study together”. So, the students feel close to teachers. )
学生们:students (just students and teachers, not feeling close)
Other samples:
To the teacher,
1) When talk to another teacher, the teacher will say “学生们学习挺努力的” or “同学们学习挺努力的”
2) When talk to students, the teacher will say “同学们学习挺努力的”