Microsoft Interview Question

Implement a class based on parameters.