That depends on how deep your concentration level is. You are free to be on a vacation during which your online classes are scheduled as long as you think you can attend the classes without distraction and can carry your instruments or other equipments required to attend the class.