Sri Lanka Telecom interview question

Q: How to send data from child component to parent component?