1. This class is so difficult that I can't follow it.

2. This class is so difficult that I can't understand it.
---------------
Does #1 mean #2? Does 'follow' mean 'understand'?

Yes. They mean about the same.