Saved Bookmarks
| 1. |
Explain access modifiers in TypeScript? |
|
Answer» TypeScript developers can use the access modifiers to control the accessibility of the class members. There are two TYPES of access modifiers in TypeScript; private and public modifiers. Class members are public by default, but users can ADD a private MODIFIER if they WISH. |
|