Elastic Path interview question

Java 8, software architecture and design