Cognizant Interview Question

Q . How to communicate between components?