Ryanair interview question

Questions about SOLID Principles Coding Example