Target Interview Question

OOPs,Difference between java and cpp, sql.