IBM interview question

when to use a container vs abstract class?