S&P Global interview question

Understanding on software architecture and modern language features.