TD interview question

abstract class vs interface, questions about hashmap,