Access modifiers

TypeScript allows us to restrict the access to the properties and methods of a class using the public, private, and protected keywords.