BT Group Interview Question

Basics of java