Yes, studying online is better than studying in a classroom as a student studying online does not have the normal distractions that a classroom environment supplies. In the past, I would have said the opposite is true due to not having instant access to a professor, but that has changed in recent years and professors are easily spoken with online.
I don't think that studying online is any better than studying in a regular classroom. It is different for every person. Some think it is better. Some think it is worse. Personally I like to study in a regular classroom because I have less distractions keeping me from my school work.