HSBC interview question

write java program to show inheritance and draw DFD ......