Multiple choice technology web technology

Value types always have what modifier?

  1. Static

  2. InitOnly

  3. Virtual

  4. Abstract

  5. Sealed

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

Value types are implicitly sealed because they cannot be inherited from - they're either primitives or structs. This is a fundamental characteristic of value types in the CLR type system, not an explicit modifier you apply. The other modifiers (Static, InitOnly, Virtual, Abstract) are member modifiers, not type-level modifiers.