TypeScript | TypeScript Object Oriented Programming | Question2

Last Updated :
Discuss
Comments

Which access modifier allows a property to be accessed only within the class in which it is defined?

public

private

protected

readonly

Share your thoughts in the comments