In this section, you will understand how to declare a method and use methods to control access to data.