InterviewSolution
Saved Bookmarks
| 1. |
How To Make Variables As Unchangeable? |
|
Answer» Variables can be MADE unchangeable using readonly. For instance, if we WANT variable a value to REMAIN as 10 and not to be changed then we can ACHIEVE this using readonly. $ a=10 $ readonly a Variables can be made unchangeable using readonly. For instance, if we want variable a value to remain as 10 and not to be changed then we can achieve this using readonly. Example: $ a=10 $ readonly a |
|