readonly: Concept map

The readonly keyword is a modifier that can be used in three contexts; In this example, the value of the field year cannot be changed in the method ChangeYear, even though it is assigned a value in the class constructor.

Clickable & Draggable!

Click node to preview!