Revature Interview Question

Some basic oops concept and some coding problem and also related to SQL.