Multiple choice technology programming languages

We can only assign values for read only properties from the constructor?

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Read-only properties must be assigned during object construction or initialization, as they cannot be modified afterward. This is typically done through constructors or initializer syntax.