Getters and setters allow you to get and set properties via methods.
This example creates a getter for a property called fullName.