Flydocs interview question

Simple OOP questions