DXC Technology Interview Question

Asked to write all the possible classes involved in an messaging system