Example for Encapsulation

Note: As this is the example for creating object for storing data, see the code in the left side box, we have ket many functionalities inside a Function Participant()