Capgemini interview question

core java and oops concepts few questions on RDBMS