Concentrix interview question

Explain CQRS design pattern Basic Java8 coding