Yes, you can have online classes on your phone. You just need to download the application like Google Classroom, Zoom, Skype etc.