 In this tutorial, we are going to talk about that how to create an object of a class or how to instantiate a class in TypeScript language. Here we have a class, it's called Book. In our class, we have two private fields. First private field is title. That title field is for the title name of our book and we have field here. This field is for information when our book is being published. Then we have a constructor in which we can provide arguments. First argument is going to be the name of our book, the title of our book and second argument is optional. You can provide the year when was the book published or by default it's published in the year 2017 and next we have public methods, getters and setters for our private fields. Now what we want to do is to create an object of our class book or we could also say that we want to instantiate class book. Okay, I will cover this code. Okay, let's create an object. Our object will have the name book and it's going to be the type of book and we're going to instantiate this class by using new keyword and we're going to use this constructor. First argument is going to be the name of our book. For example, let's call our book learn type script and let's provide information when the book was published. I don't know if this book with this name already published but I will assume that it's been published in the year 2016 because if it's published in 2017 I will not provide the second argument for our constructor because the second argument is by default 2017. Okay, and now when we have a book object we can use for example getters to get information about our title or to get information about our year of publishing. We can print this information to the console. Okay, with this title method we're going to get information about the title of our book and with this year method we're going to get information about year when our book is published. Now I'm going to save this file and I'm going to run it in a browser. Our type script file is being compiled to JavaScript code and now I'm running that code in my browser. I want to check out my console and as you can see here we have information about the name of our book and the publishing if I can make it smaller. So this information console.log book title is this learn type script and information about our year of publishing is here book.year and it's 2016. That's all in this tutorial. Don't forget to like my video and to subscribe to my channel. You can also check out other videos on my YouTube channel. Thanks for watching. See you in the next tutorial. Bye-bye.