Multiple choice technology programming languages

Read-only Properties will be having only a set accessor in the property implementation?

  1. True

  2. False

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

Read-only properties have only a get accessor (getter), not a set accessor. The statement incorrectly claims they have only a set accessor. Write-only properties would have only a set accessor.