Lloyds Banking Group Interview Question

Java based and output questions