As a university professor, I rarely hear from students after the final exam. However, there are always a handful of students who will send personal notes or emails after the semester is over. These mean more to me than you could possibly imagine.
Students, if you enjoy the class, let the teacher know. They truly love hearing it.