Epicor Software interview question

oops concepts