Multiple choice technology programming languages

How can we declare a class as non derivable in VB.Net

  1. using NotInheritable

  2. using sealed

  3. both a and b

  4. none of the above

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

In VB.NET, NotInheritable is the keyword that prevents a class from being inherited (makes it non-derivable/sealed). 'sealed' is a C# keyword, not VB.NET syntax.