can a man sit next to a kafir/mushrik classmate and conversate, study, and joke around together with the intention of da'wah?

Ustadh AbdulAziz al-Haqqan
Yes, but as long as it doesn't affect your religion, if it does, then becareful for your religion.