BNP Paribas Interview Question

collections, aggregations, solid principles in java