HSBC Interview Question

java oops, dbms, situational based coding question (logical)