NTT DATA Interview Question

Implement Stacks, Implementing Observer design pattern, Basic Oops,Try catch finally block related, A couple of puzzles