Multiple choice technology programming languages

How does VB.NET instantiates the .NET object

  1. Using NEW keyword

  2. Using CREATEOBJECT keyword

  3. Using GETOBJECT keyword

  4. Both A & B

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

In VB.NET, objects are instantiated using the NEW keyword. While CREATEOBJECT and GETOBJECT exist for COM/ActiveX interoperability, the standard way to create .NET objects is using NEW. Option D is incorrect because CREATEOBJECT is not for .NET objects.