Barclays Interview Question

Questions on advanced java.