Antra interview question

Difference between abstract class and interface What’s volatile? How hashmap works?