Diligent Interview Question

Explain how to add a custom method to a built-in class.