Target interview question

OOPs,Difference between java and cpp, sql.