Bounteous x Accolite interview question

Internal working of HashMap? how it is improved in java8