IBM Interview Question

Difference between switch and hub.