• Const properties can only be set when they are declared
  • Readonly properties can only be changed in the constructor, and can replace the value set when declared
  • Both read only and const can not be changed in the methods themselves.
Advertisements