 Hi, in this tutorial we're going to talk about getter and setter methods in TypeScript language. In order to use them, let's define a class. We'll call it classbook and let's create two private fields inside our class. Let's create a private field title. The title is going to have string type and let's make private field year, which is going to have a number type. Year field gives us information when this book is being released. And now we want to make public properties for these two private fields. First, I'm gonna create a getter for our title field, which is going to return the string. So we're going to return this string underscore title. And also we want to create a setter for our title, which is going to have as an argument the value for a new title, which is going to be also string. And we want to set now our new name of our book title with this new title. So we're going to say this underscore title equals to new title. And similarly we can make getters and setters for this private field underscore year. Let's make a getter for year. This function is going to return a number. We're going to return this underscore year. And similarly, we're going to set a year with a new variable. For example, let's make a variable, which is going to be an argument. Let's call it new publishing year, which also is going to be a number. And now we want to set the value of our year when our book is being published to this new publishing year, which is provided as an argument from our setter. Okay, we're making getters and setters for our private fields because we don't want to let to any user to randomly change information about our book's title or its year, but we want to provide getters and setters. So if they want to get this information or set these information, they need to use these methods. Now for practice, we can for example instantiate our class book and we can use getters and setters. I will make an object of our class book and then I will set its name by using title setter and I'm going to provide the name of a book, for example, on TypeScript and let's use a setter to set the publishing year, for example, 2017. That's all in this video. Don't forget to like this video. Don't forget to subscribe to my channel and to see other videos on my channel. That's all for now. See you in the next video. Thanks for watching. Bye.