Google interview question

2) OOP design class to create timer object