TCS interview question

Application Flow, Java, Logical Reasoning