constant :
readonly :
- Constant is used to at the time of declaration is mandatory.
- constant can't be modified within a class.
readonly :
- readonly is used to optional for declaration of values.
- readonly can be modified with the class
No comments:
Post a Comment