IBM interview question

Difference between switch and hub.