The get method returns the value of the variable name . The set method assigns a value to the name variable . The value keyword represents the value we assign to the property.
The get method returns the value of the variable name . The set method assigns a value to the name variable . The value keyword represents the value we assign to the property.