Tech Mahindra Interview Question

Only based on SQL, OOPS concept and JAVA