Pegasystems interview question

java collections example