Multiple choice technology programming languages

If no accessibility level is specified for property, a default level Public is used?

  1. True

  2. False

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

The default accessibility for properties varies by language. In C#, properties without an access modifier default to the accessibility of their containing context (often private or internal), not public. Public must be explicitly specified.