Domanda di colloquio di Highlands

Simple coding problem and some question about Automation testing as well as oops concept