Barclays Interview Question

Java OOPs concept, basic coding questions