Newgen Software interview question

Difference between categories and subclassing