Multiple choice technology programming languages

How do you enable Strict Type Checking in VB.NET

  1. With OPTION STRICT ON keyword

  2. With OPTION EXPICIT Keyword

  3. With OPTION STRICT OFF keyword

  4. All the above

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

The Option Strict On statement enforces strict type checking in VB.NET, preventing implicit narrowing conversions and late binding. Option Explicit ensures all variables are declared, while Option Strict Off disables strict type checks, making the first option the correct choice.