Endava Interview Question

OOP principles, Collections in Java